Class AbstractPlanProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.plan.AbstractPlanProperties
-
- All Implemented Interfaces:
EntityProperties
- Direct Known Subclasses:
JobProperties,PlanProperties
@Immutable public abstract class AbstractPlanProperties extends Object implements EntityProperties
-
-
Constructor Summary
Constructors Constructor Description AbstractPlanProperties(BambooOidProperties oid, BambooKeyProperties key, String name, String description, boolean enabled, Collection<PluginConfigurationProperties> pluginConfigurations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable StringgetDescription()@Nullable BambooKeyPropertiesgetKey()@NotNull StringgetName()@Nullable BambooOidPropertiesgetOid()@NotNull List<PluginConfigurationProperties>getPluginConfigurations()booleanisEnabled()booleanisKeyDefined()booleanisOidDefined()@NotNull BambooKeyPropertiestoPlanIdentifier()voidvalidate()
-
-
-
Constructor Detail
-
AbstractPlanProperties
public AbstractPlanProperties(BambooOidProperties oid, BambooKeyProperties key, String name, String description, boolean enabled, Collection<PluginConfigurationProperties> pluginConfigurations) throws PropertiesValidationException
- Throws:
PropertiesValidationException
-
-
Method Detail
-
toPlanIdentifier
@NotNull public @NotNull BambooKeyProperties toPlanIdentifier()
-
getKey
@Nullable public @Nullable BambooKeyProperties getKey()
-
isKeyDefined
public boolean isKeyDefined()
-
getOid
@Nullable public @Nullable BambooOidProperties getOid()
-
isOidDefined
public boolean isOidDefined()
-
getName
@NotNull public @NotNull String getName()
-
getDescription
@Nullable public @Nullable String getDescription()
-
isEnabled
public boolean isEnabled()
-
getPluginConfigurations
@NotNull public @NotNull List<PluginConfigurationProperties> getPluginConfigurations()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties
-
-