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
ConstructorsConstructorDescriptionPlanProperties(BambooOidProperties oid, BambooKeyProperties key, String name, String description, ProjectProperties project, List<StageProperties> stages, List<PlanRepositoryLinkProperties> repositories, List<TriggerProperties> triggers, List<VariableProperties> variables, boolean enabled, Collection<PluginConfigurationProperties> pluginConfigurations, PlanBranchManagementProperties planBranchManagementProperties, DependenciesProperties dependenciesProperties, @Nullable RepositoryStoredSpecsData repositoryStoredSpecsData, @NotNull List<NotificationProperties> notifications, List<VcsRepositoryBranchProperties> repositoryBranches, List<LabelProperties> labels, @Nullable PlanBranchConfigurationProperties planBranchConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull DependenciesProperties@NotNull List<LabelProperties>@Nullable PlanBranchConfigurationProperties@NotNull PlanBranchManagementProperties@NotNull ProjectProperties@NotNull List<PlanRepositoryLinkProperties>@NotNull List<VcsRepositoryBranchProperties>@Nullable RepositoryStoredSpecsData@NotNull List<StageProperties>@NotNull List<TriggerProperties>@NotNull List<VariableProperties>inthashCode()@NotNull StringEntity type and id representation that is shown to human.@NotNull StringEntity type that is shown to human.voidvalidate()Methods inherited from class com.atlassian.bamboo.specs.api.model.plan.AbstractPlanProperties
getDescription, getKey, getName, getOid, getPluginConfigurations, isEnabled, isKeyDefined, isOidDefined, toPlanIdentifier
-
Constructor Details
-
PlanProperties
public PlanProperties(BambooOidProperties oid, BambooKeyProperties key, String name, String description, ProjectProperties project, List<StageProperties> stages, List<PlanRepositoryLinkProperties> repositories, List<TriggerProperties> triggers, List<VariableProperties> variables, boolean enabled, Collection<PluginConfigurationProperties> pluginConfigurations, PlanBranchManagementProperties planBranchManagementProperties, DependenciesProperties dependenciesProperties, @Nullable @Nullable RepositoryStoredSpecsData repositoryStoredSpecsData, @NotNull @NotNull List<NotificationProperties> notifications, List<VcsRepositoryBranchProperties> repositoryBranches, List<LabelProperties> labels, @Nullable @Nullable PlanBranchConfigurationProperties planBranchConfiguration) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getProject
-
getStages
-
getPlanBranchManagementProperties
-
getDependenciesProperties
-
getVariables
-
getTriggers
-
getRepositories
-
getRepositoryBranches
-
getRepositoryStoredSpecsData
-
getNotifications
-
getLabels
-
getPlanBranchConfiguration
-
validate
public void validate()- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classAbstractPlanProperties
-
humanReadableType
Description copied from interface:RootEntityPropertiesEntity type that is shown to human.- Specified by:
humanReadableTypein interfaceRootEntityProperties
-
humanReadableId
Description copied from interface:RootEntityPropertiesEntity type and id representation that is shown to human.- Specified by:
humanReadableIdin interfaceRootEntityProperties
-