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 java.lang.Object implements EntityProperties
-
-
Constructor Summary
Constructors Constructor Description AbstractPlanProperties(BambooOidProperties oid, BambooKeyProperties key, java.lang.String name, java.lang.String description, boolean enabled, java.util.Collection<PluginConfigurationProperties> pluginConfigurations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.StringgetDescription()@Nullable BambooKeyPropertiesgetKey()@NotNull java.lang.StringgetName()@Nullable BambooOidPropertiesgetOid()@NotNull java.util.List<PluginConfigurationProperties>getPluginConfigurations()booleanisEnabled()booleanisKeyDefined()booleanisOidDefined()@NotNull BambooKeyPropertiestoPlanIdentifier()voidvalidate()
-
-
-
Constructor Detail
-
AbstractPlanProperties
public AbstractPlanProperties(BambooOidProperties oid, BambooKeyProperties key, java.lang.String name, java.lang.String description, boolean enabled, java.util.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 java.lang.String getName()
-
getDescription
@Nullable public @Nullable java.lang.String getDescription()
-
isEnabled
public boolean isEnabled()
-
getPluginConfigurations
@NotNull public @NotNull java.util.List<PluginConfigurationProperties> getPluginConfigurations()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties
-
-