Class AfterSuccessfulStageTriggerProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
- com.atlassian.bamboo.specs.builders.trigger.DeploymentTriggerProperties
-
- com.atlassian.bamboo.specs.model.trigger.AfterSuccessfulStageTriggerProperties
-
- All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties
@Immutable public class AfterSuccessfulStageTriggerProperties extends DeploymentTriggerProperties
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMODULE_KEYstatic java.lang.StringNAME
-
Constructor Summary
Constructors Constructor Description AfterSuccessfulStageTriggerProperties(java.lang.String description, boolean triggerEnabled, java.lang.String stageName, java.lang.String releaseBranch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NotNull com.atlassian.bamboo.specs.api.model.AtlassianModulePropertiesgetAtlassianPlugin()java.lang.StringgetReleaseBranch()java.lang.StringgetStageName()inthashCode()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.builders.trigger.DeploymentTriggerProperties
applicableTo
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
MODULE_KEY
public static final java.lang.String MODULE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AfterSuccessfulStageTriggerProperties
public AfterSuccessfulStageTriggerProperties(java.lang.String description, boolean triggerEnabled, java.lang.String stageName, java.lang.String releaseBranch) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException- Throws:
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
-
-
Method Detail
-
getStageName
public java.lang.String getStageName()
-
getReleaseBranch
public java.lang.String getReleaseBranch()
-
getAtlassianPlugin
@NotNull public @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classcom.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
validate
public void validate() throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties- Overrides:
validatein classcom.atlassian.bamboo.specs.api.model.trigger.TriggerProperties- Throws:
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classcom.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
-