Class GroovyConditionDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<PromotionCondition>
-
- hudson.plugins.promoted_builds.PromotionConditionDescriptor
-
- hudson.plugins.promoted_builds.conditions.GroovyConditionDescriptor
-
@Extension(optional=true) public final class GroovyConditionDescriptor extends PromotionConditionDescriptor
Declared outside GroovyCondition as it depends on the optional 'script-security' dependency
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description GroovyConditionDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
boolean
isApplicable(AbstractProject<?,?> item)
Returns true if this condition is applicable to the given project.-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(AbstractProject<?,?> item)
Description copied from class:PromotionConditionDescriptor
Returns true if this condition is applicable to the given project.- Specified by:
isApplicable
in classPromotionConditionDescriptor
- Returns:
- true to allow user to configure this promotion condition for the given project.
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<PromotionCondition>
-
-