Class PlanProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.plan.AbstractPlanProperties
-
- com.atlassian.bamboo.specs.api.model.plan.PlanProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
@Immutable public final class PlanProperties extends AbstractPlanProperties implements RootEntityProperties
-
-
Constructor Summary
Constructors Constructor Description PlanProperties(BambooOidProperties oid, BambooKeyProperties key, java.lang.String name, java.lang.String description, ProjectProperties project, java.util.List<StageProperties> stages, java.util.List<PlanRepositoryLinkProperties> repositories, java.util.List<TriggerProperties> triggers, java.util.List<VariableProperties> variables, boolean enabled, java.util.Collection<PluginConfigurationProperties> pluginConfigurations, PlanBranchManagementProperties planBranchManagementProperties, DependenciesProperties dependenciesProperties, @Nullable RepositoryStoredSpecsData repositoryStoredSpecsData, @NotNull java.util.List<NotificationProperties> notifications, java.util.List<VcsRepositoryBranchProperties> repositoryBranches, java.util.List<LabelProperties> labels, @Nullable PlanBranchConfigurationProperties planBranchConfiguration)
-
Method Summary
-
Methods inherited from class com.atlassian.bamboo.specs.api.model.plan.AbstractPlanProperties
getDescription, getKey, getName, getOid, getPluginConfigurations, isEnabled, isKeyDefined, isOidDefined, toPlanIdentifier
-
-
-
-
Constructor Detail
-
PlanProperties
public PlanProperties(BambooOidProperties oid, BambooKeyProperties key, java.lang.String name, java.lang.String description, ProjectProperties project, java.util.List<StageProperties> stages, java.util.List<PlanRepositoryLinkProperties> repositories, java.util.List<TriggerProperties> triggers, java.util.List<VariableProperties> variables, boolean enabled, java.util.Collection<PluginConfigurationProperties> pluginConfigurations, PlanBranchManagementProperties planBranchManagementProperties, DependenciesProperties dependenciesProperties, @Nullable @Nullable RepositoryStoredSpecsData repositoryStoredSpecsData, @NotNull @NotNull java.util.List<NotificationProperties> notifications, java.util.List<VcsRepositoryBranchProperties> repositoryBranches, java.util.List<LabelProperties> labels, @Nullable @Nullable PlanBranchConfigurationProperties planBranchConfiguration) throws PropertiesValidationException
- Throws:
PropertiesValidationException
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getProject
@NotNull public @NotNull ProjectProperties getProject()
-
getStages
@NotNull public @NotNull java.util.List<StageProperties> getStages()
-
getPlanBranchManagementProperties
@NotNull public @NotNull PlanBranchManagementProperties getPlanBranchManagementProperties()
-
getDependenciesProperties
@NotNull public @NotNull DependenciesProperties getDependenciesProperties()
-
getVariables
@NotNull public @NotNull java.util.List<VariableProperties> getVariables()
-
getTriggers
@NotNull public @NotNull java.util.List<TriggerProperties> getTriggers()
-
getRepositories
@NotNull public @NotNull java.util.List<PlanRepositoryLinkProperties> getRepositories()
-
getRepositoryBranches
@NotNull public @NotNull java.util.List<VcsRepositoryBranchProperties> getRepositoryBranches()
-
getRepositoryStoredSpecsData
@Nullable public @Nullable RepositoryStoredSpecsData getRepositoryStoredSpecsData()
-
getNotifications
public java.util.List<NotificationProperties> getNotifications()
-
getLabels
@NotNull public @NotNull java.util.List<LabelProperties> getLabels()
-
getPlanBranchConfiguration
@Nullable public @Nullable PlanBranchConfigurationProperties getPlanBranchConfiguration()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classAbstractPlanProperties
-
humanReadableType
@NotNull public @NotNull java.lang.String humanReadableType()
Description copied from interface:RootEntityPropertiesEntity type that is shown to human.- Specified by:
humanReadableTypein interfaceRootEntityProperties
-
humanReadableId
@NotNull public @NotNull java.lang.String humanReadableId()
Description copied from interface:RootEntityPropertiesEntity type and id representation that is shown to human.- Specified by:
humanReadableIdin interfaceRootEntityProperties
-
-