|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.Descriptor<Indication>
com.sonyericsson.jenkins.plugins.bfa.model.indication.Indication.IndicationDescriptor
com.sonyericsson.jenkins.plugins.bfa.model.indication.BuildLogIndication.BuildLogIndicationDescriptor
@Extension public static class BuildLogIndication.BuildLogIndicationDescriptor
The descriptor.
Nested Class Summary | |
---|---|
static class |
BuildLogIndication.BuildLogIndicationDescriptor.StringBuildId
An identifier for a non-numeric build for a given project, like "last build" and "last failed build". |
Nested classes/interfaces inherited from class hudson.model.Descriptor |
---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
Field Summary |
---|
Fields inherited from class hudson.model.Descriptor |
---|
clazz |
Fields inherited from interface hudson.model.Saveable |
---|
NOOP |
Constructor Summary | |
---|---|
BuildLogIndication.BuildLogIndicationDescriptor()
|
Method Summary | |
---|---|
hudson.util.FormValidation |
doMatchText(String testPattern,
String testText,
boolean textSourceIsUrl)
Tests if a text matches a pattern. |
String |
getDisplayName()
|
protected FailureReader |
getFailureReader(String testPattern)
|
Methods inherited from class com.sonyericsson.jenkins.plugins.bfa.model.indication.Indication.IndicationDescriptor |
---|
checkPattern, doCheckPattern, getAll |
Methods inherited from class hudson.model.Descriptor |
---|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildLogIndication.BuildLogIndicationDescriptor()
Method Detail |
---|
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<Indication>
public hudson.util.FormValidation doMatchText(@QueryParameter(value="pattern") String testPattern, @QueryParameter(value="testText") String testText, @QueryParameter(value="textSourceIsUrl") boolean textSourceIsUrl)
testPattern
- a pattern.testText
- a text.textSourceIsUrl
- a boolean indicating whether testText is a URL containing the text to be matched
against pattern or a text that should be matched directly against pattern.
FormValidation.ok(java.lang.String)
if the pattern is valid and
the string matches the pattern,
FormValidation.warning(java.lang.String)
if the pattern is valid and
the string does not match the pattern,
FormValidation.error(java.lang.String)
otherwise.protected FailureReader getFailureReader(String testPattern)
testPattern
- the test pattern for the indication passed to the failure reader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |