Class VcsRepositoryProperties
java.lang.Object
com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
- All Implemented Interfaces:
EntityProperties
,RootEntityProperties
- Direct Known Subclasses:
AnyVcsRepositoryProperties
,BitbucketCloudRepositoryProperties
,BitbucketServerRepositoryProperties
,GitHubRepositoryProperties
,GitRepositoryProperties
,PlanRepositoryLinkProperties.LinkedGlobalRepository
,PlanRepositoryLinkProperties.ProjectRepository
@Immutable
public abstract class VcsRepositoryProperties
extends Object
implements RootEntityProperties
-
Constructor Summary
ModifierConstructorDescriptionprotected
VcsRepositoryProperties
(@Nullable String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties) VcsRepositoryProperties
(@Nullable String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable ProjectProperties project) -
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract @Nullable AtlassianModuleProperties
@Nullable String
@Nullable String
getName()
@Nullable BambooOidProperties
getOid()
@Nullable String
@Nullable String
@Nullable ProjectProperties
@Nullable VcsRepositoryViewerProperties
int
hashCode()
boolean
@NotNull String
Entity type and id representation that is shown to human.@NotNull String
Entity type that is shown to human.void
validate()
-
Constructor Details
-
VcsRepositoryProperties
protected VcsRepositoryProperties() -
VcsRepositoryProperties
public VcsRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
VcsRepositoryProperties
public VcsRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable ProjectProperties project) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
-
Method Details
-
toIdentifier
-
equals
-
hashCode
public int hashCode() -
getAtlassianPlugin
-
getName
-
getDescription
-
getOid
-
getRepositoryViewerProperties
-
getParent
-
getParentName
-
hasParent
public boolean hasParent() -
getProject
-
validate
public void validate()- Specified by:
validate
in interfaceEntityProperties
-
humanReadableType
Description copied from interface:RootEntityProperties
Entity type that is shown to human.- Specified by:
humanReadableType
in interfaceRootEntityProperties
-
humanReadableId
Description copied from interface:RootEntityProperties
Entity type and id representation that is shown to human.- Specified by:
humanReadableId
in interfaceRootEntityProperties
-