Class TriggerProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties
-
- All Implemented Interfaces:
EntityProperties
- Direct Known Subclasses:
DeploymentTriggerProperties,RepositoryBasedTriggerProperties,ScheduledTriggerProperties,TagTriggerProperties
public abstract class TriggerProperties extends java.lang.Object implements EntityProperties
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTriggerProperties()TriggerProperties(@NotNull java.lang.String name, java.lang.String description, boolean enabled, java.util.Set<TriggerConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.EnumSet<Applicability>applicableTo()booleanequals(java.lang.Object o)abstract @NotNull AtlassianModulePropertiesgetAtlassianPlugin()java.util.List<? extends TriggerConditionProperties>getConditions()@Nullable java.lang.StringgetDescription()@NotNull java.lang.StringgetName()inthashCode()booleanisEnabled()java.lang.StringtoString()voidvalidate()
-
-
-
Constructor Detail
-
TriggerProperties
protected TriggerProperties()
-
TriggerProperties
public TriggerProperties(@NotNull @NotNull java.lang.String name, java.lang.String description, boolean enabled, java.util.Set<TriggerConditionProperties> conditions)
-
-
Method Detail
-
getDescription
@Nullable public @Nullable java.lang.String getDescription()
-
isEnabled
public boolean isEnabled()
-
getName
@NotNull public @NotNull java.lang.String getName()
-
getConditions
public java.util.List<? extends TriggerConditionProperties> getConditions()
-
getAtlassianPlugin
@NotNull public abstract @NotNull AtlassianModuleProperties getAtlassianPlugin()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Throws:
PropertiesValidationException
-
applicableTo
public java.util.EnumSet<Applicability> applicableTo()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-