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