|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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(Plan 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(Plan plan)
getExecutionPreference in interface BuildTriggerConditionplan - 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)
BuildConfigurationAwarePluginBuildConfiguration 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 BuildConfigurationAwarePluginvalidate in class BaseBuildConfigurationAwarePluginbuildConfiguration - - @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 | |||||||||