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