@Extension public static class BuildLogIndication.BuildLogIndicationDescriptor extends Indication.IndicationDescriptor
Modifier and Type | Class and Description |
---|---|
static class |
BuildLogIndication.BuildLogIndicationDescriptor.StringBuildId
An identifier for a non-numeric build for a given project,
like "last build" and "last failed build".
|
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
BuildLogIndicationDescriptor() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doMatchText(String testPattern,
String testText,
boolean textSourceIsUrl)
Tests if a text matches a pattern.
|
String |
getDisplayName() |
protected FailureReader |
getFailureReader(String testPattern) |
checkPattern, doCheckPattern, getAll
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
getDisplayName
in class Descriptor<Indication>
public 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 readerCopyright © 2016–2019. All rights reserved.