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 java.lang.Object implements RootEntityProperties
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVcsRepositoryProperties()VcsRepositoryProperties(@Nullable java.lang.String name, @Nullable BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties)VcsRepositoryProperties(@Nullable java.lang.String name, @Nullable BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable ProjectProperties project)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)abstract @Nullable AtlassianModulePropertiesgetAtlassianPlugin()@Nullable java.lang.StringgetDescription()@Nullable java.lang.StringgetName()@Nullable BambooOidPropertiesgetOid()@Nullable java.lang.StringgetParent()@Nullable java.lang.StringgetParentName()@Nullable ProjectPropertiesgetProject()@Nullable VcsRepositoryViewerPropertiesgetRepositoryViewerProperties()inthashCode()booleanhasParent()@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.VcsRepositoryIdentifierPropertiestoIdentifier()voidvalidate()
-
-
-
Constructor Detail
-
VcsRepositoryProperties
protected VcsRepositoryProperties()
-
VcsRepositoryProperties
public VcsRepositoryProperties(@Nullable @Nullable java.lang.String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable java.lang.String description, @Nullable @Nullable java.lang.String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
VcsRepositoryProperties
public VcsRepositoryProperties(@Nullable @Nullable java.lang.String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable java.lang.String description, @Nullable @Nullable java.lang.String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable ProjectProperties project) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
toIdentifier
public VcsRepositoryIdentifierProperties toIdentifier()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getAtlassianPlugin
@Nullable public abstract @Nullable AtlassianModuleProperties getAtlassianPlugin()
-
getName
@Nullable public @Nullable java.lang.String getName()
-
getDescription
@Nullable public @Nullable java.lang.String getDescription()
-
getOid
@Nullable public @Nullable BambooOidProperties getOid()
-
getRepositoryViewerProperties
@Nullable public @Nullable VcsRepositoryViewerProperties getRepositoryViewerProperties()
-
getParent
@Nullable public @Nullable java.lang.String getParent()
-
getParentName
@Nullable public @Nullable java.lang.String getParentName()
-
hasParent
public boolean hasParent()
-
getProject
@Nullable public @Nullable ProjectProperties getProject()
-
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
-
-