Class ProjectProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.project.ProjectProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
@Immutable public final class ProjectProperties extends Object implements RootEntityProperties
-
-
Constructor Summary
Constructors Constructor Description ProjectProperties(BambooOidProperties oid, BambooKeyProperties key, String name, String description, @NotNull List<VariableProperties> variables, @NotNull List<SharedCredentialsProperties> sharedCredentials, @NotNull List<VcsRepositoryProperties> repositories, @Nullable RepositoryStoredSpecsData repositoryStoredSpecsData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetDescription()@Nullable BambooKeyPropertiesgetKey()@NotNull StringgetName()@Nullable BambooOidPropertiesgetOid()@NotNull List<VcsRepositoryProperties>getRepositories()@Nullable RepositoryStoredSpecsDatagetRepositoryStoredSpecsData()@NotNull List<SharedCredentialsProperties>getSharedCredentials()@NotNull List<VariableProperties>getVariables()inthashCode()@NotNull StringhumanReadableId()Entity type and id representation that is shown to human.@NotNull StringhumanReadableType()Entity type that is shown to human.voidvalidate()
-
-
-
Constructor Detail
-
ProjectProperties
public ProjectProperties(BambooOidProperties oid, BambooKeyProperties key, String name, String description, @NotNull @NotNull List<VariableProperties> variables, @NotNull @NotNull List<SharedCredentialsProperties> sharedCredentials, @NotNull @NotNull List<VcsRepositoryProperties> repositories, @Nullable @Nullable RepositoryStoredSpecsData repositoryStoredSpecsData) throws PropertiesValidationException
- Throws:
PropertiesValidationException
-
-
Method Detail
-
getOid
@Nullable public @Nullable BambooOidProperties getOid()
-
getKey
@Nullable public @Nullable BambooKeyProperties getKey()
-
getName
@NotNull public @NotNull String getName()
-
getDescription
@Nullable public @Nullable String getDescription()
-
getVariables
@NotNull public @NotNull List<VariableProperties> getVariables()
-
getSharedCredentials
@NotNull public @NotNull List<SharedCredentialsProperties> getSharedCredentials()
-
getRepositories
@NotNull public @NotNull List<VcsRepositoryProperties> getRepositories()
-
getRepositoryStoredSpecsData
@Nullable public @Nullable RepositoryStoredSpecsData getRepositoryStoredSpecsData()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties
-
humanReadableType
@NotNull public @NotNull String humanReadableType()
Description copied from interface:RootEntityPropertiesEntity type that is shown to human.- Specified by:
humanReadableTypein interfaceRootEntityProperties
-
humanReadableId
@NotNull public @NotNull String humanReadableId()
Description copied from interface:RootEntityPropertiesEntity type and id representation that is shown to human.- Specified by:
humanReadableIdin interfaceRootEntityProperties
-
-