@Immutable public final class ProjectProperties extends Object implements RootEntityProperties
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@Nullable String |
getDescription() |
@Nullable BambooKeyProperties |
getKey() |
@NotNull String |
getName() |
@Nullable BambooOidProperties |
getOid() |
@NotNull List<VcsRepositoryProperties> |
getRepositories() |
@Nullable RepositoryStoredSpecsData |
getRepositoryStoredSpecsData() |
@NotNull List<SharedCredentialsProperties> |
getSharedCredentials() |
@NotNull List<VariableProperties> |
getVariables() |
int |
hashCode() |
@NotNull String |
humanReadableId()
Entity type and id representation that is shown to human.
|
@NotNull String |
humanReadableType()
Entity type that is shown to human.
|
void |
validate() |
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
PropertiesValidationException
@Nullable public @Nullable BambooOidProperties getOid()
@Nullable public @Nullable BambooKeyProperties getKey()
@NotNull public @NotNull String getName()
@Nullable public @Nullable String getDescription()
@NotNull public @NotNull List<VariableProperties> getVariables()
@NotNull public @NotNull List<SharedCredentialsProperties> getSharedCredentials()
@NotNull public @NotNull List<VcsRepositoryProperties> getRepositories()
@Nullable public @Nullable RepositoryStoredSpecsData getRepositoryStoredSpecsData()
public void validate()
validate
in interface EntityProperties
@NotNull public @NotNull String humanReadableType()
RootEntityProperties
humanReadableType
in interface RootEntityProperties
@NotNull public @NotNull String humanReadableId()
RootEntityProperties
humanReadableId
in interface RootEntityProperties
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.