Class Overview
A plugin class that allows you to have build expiry occur per build
Summary
[Expand]
Inherited Methods |
From class
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
@Deprecated
void
|
customizeBuildRequirements(BuildConfiguration buildConfiguration, RequirementSet requirementSet)
This method is deprecated.
since 3.0 Use #customizeBuildRequirements(Plan, BuildConfiguration, RequirementSet)
|
void
|
customizeBuildRequirements(PlanKey planKey, BuildConfiguration buildConfiguration, RequirementSet requirementSet)
Extension point for adding/customizing requirements when editing a build's builder configuration.
|
@Deprecated
void
|
removeBuildRequirements(BuildConfiguration buildConfiguration, RequirementSet requirementSet)
This method is deprecated.
since 3.0 Use #removeBuildRequirements(Plan, BuildConfiguration, RequirementSet)
|
void
|
removeBuildRequirements(PlanKey planKey, BuildConfiguration buildConfiguration, RequirementSet requirementSet)
Extension point for removing requirements when given plugin is excluded from build's builder configuration.
|
|
From class
com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.bamboo.plugin.InitablePluginModule
void
|
init(ModuleDescriptor moduleDescriptor)
Initialises the Plugin with the plugin module descriptor
|
|
From interface
com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
|
From interface
com.atlassian.bamboo.v2.build.ConfigurablePlugin
|
From interface
com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
|
From interface
com.atlassian.bamboo.v2.build.configuration.BuildConfigurationUIPlugin
|
Constants
public
static
final
String
BUILD_EXPIRY_CONFIG_CONSTANT
Constant Value:
"buildExpiryConfig"
Fields
protected
TextProvider
textProvider
Public Constructors
public
BuildExpiryPerPlanPlugin
()
Public Methods
public
boolean
isApplicableTo
(Plan plan)
Checks if the plugin is applicable to a plan. Typical implementation is to check plan's type (chain, build, job).
Returns
- true if particular configuration is applicable to input plan
public
void
setTextProvider
(TextProvider textProvider)
Protected Methods