|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin com.atlassian.bamboo.buildtrigger.PlansGreenCondition
public class PlansGreenCondition
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.bamboo.build.BuildTriggerCondition |
---|
BuildTriggerCondition.ExecutionPreference |
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin |
---|
moduleDescriptor, templateRenderer |
Constructor Summary | |
---|---|
PlansGreenCondition()
|
Method Summary | |
---|---|
BuildTriggerCondition.ExecutionPreference |
getExecutionPreference(ImmutablePlan plan)
Use to indicate preference for whether this plugin things the plan should execute. |
protected void |
populateContextForView(java.util.Map<java.lang.String,java.lang.Object> context,
Plan plan)
|
void |
setPlanManager(PlanManager planManager)
|
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Validates the properties in the BuildConfiguration object. |
Methods inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin |
---|
addDefaultValues, getEditHtml, getViewHtml, init, isConfigurationMissing, populateContextForEdit, prepareConfigObject, setTemplateRenderer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin |
---|
addDefaultValues, prepareConfigObject |
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule |
---|
init |
Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration |
---|
getEditHtml, getViewHtml |
Constructor Detail |
---|
public PlansGreenCondition()
Method Detail |
---|
@NotNull public BuildTriggerCondition.ExecutionPreference getExecutionPreference(ImmutablePlan plan)
getExecutionPreference
in interface BuildTriggerCondition
plan
- the plan that will be executed
protected void populateContextForView(@NotNull java.util.Map<java.lang.String,java.lang.Object> context, @NotNull Plan plan)
populateContextForView
in class BaseBuildConfigurationAwarePlugin
@NotNull public ErrorCollection validate(@NotNull BuildConfiguration buildConfiguration)
BuildConfigurationAwarePlugin
BuildConfiguration
object. The name of the properties match those passed
in through the form fragments in RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
template.
validate
in interface BuildConfigurationAwarePlugin
validate
in class BaseBuildConfigurationAwarePlugin
buildConfiguration
- - @NotNull
ErrorCollection
keyed by the field name. @NotNullpublic void setPlanManager(PlanManager planManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |