Groovy Documentation

javaposse.jobdsl.dsl.helpers
[Groovy] Class UrlTriggerInspectionContext

java.lang.Object
  javaposse.jobdsl.dsl.helpers.UrlTriggerInspectionContext
All Implemented Interfaces:
Context

class UrlTriggerInspectionContext

Context for configuring inspections that support paths/RegExps.


Nested Class Summary
enum UrlTriggerInspectionContext.Inspection

Enumeration of inspections with their respective element names in XML

 
Property Summary
java.lang.Object expressions

Inspection type

 
Constructor Summary
UrlTriggerInspectionContext(UrlTriggerInspectionContext.Inspection type)

 
Method Summary
java.lang.Object path(java.lang.String path)

Adds a JSON/XPATH path expression to the inspection.

java.lang.Object regexp(java.lang.String exp)

Adds a RegExp for TEXT inspections.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

expressions

java.lang.Object expressions


type

Inspection type


 
Constructor Detail

UrlTriggerInspectionContext

UrlTriggerInspectionContext(UrlTriggerInspectionContext.Inspection type)


 
Method Detail

path

java.lang.Object path(java.lang.String path)
Adds a JSON/XPATH path expression to the inspection.
Parameters:
path - expression to add


regexp

java.lang.Object regexp(java.lang.String exp)
Adds a RegExp for TEXT inspections. Checks that the given Regexp is actually compilable to a Java RegExp.
Parameters:
exp - regular expression to add


 

Groovy Documentation