Class VcsRepositoryProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
- Direct Known Subclasses:
AnyVcsRepositoryProperties,PlanRepositoryLinkProperties.LinkedGlobalRepository,PlanRepositoryLinkProperties.ProjectRepository
@Immutable public abstract class VcsRepositoryProperties extends Object implements RootEntityProperties
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVcsRepositoryProperties()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
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)abstract @Nullable AtlassianModulePropertiesgetAtlassianPlugin()@Nullable StringgetDescription()@Nullable StringgetName()@Nullable BambooOidPropertiesgetOid()@Nullable StringgetParent()@Nullable StringgetParentName()@Nullable ProjectPropertiesgetProject()@Nullable VcsRepositoryViewerPropertiesgetRepositoryViewerProperties()inthashCode()booleanhasParent()@NotNull StringhumanReadableId()Entity type and id representation that is shown to human.@NotNull StringhumanReadableType()Entity type that is shown to human.VcsRepositoryIdentifierPropertiestoIdentifier()voidvalidate()
-
-
-
Constructor Detail
-
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 Detail
-
toIdentifier
public VcsRepositoryIdentifierProperties toIdentifier()
-
getAtlassianPlugin
@Nullable public abstract @Nullable AtlassianModuleProperties getAtlassianPlugin()
-
getName
@Nullable public @Nullable String getName()
-
getDescription
@Nullable public @Nullable String getDescription()
-
getOid
@Nullable public @Nullable BambooOidProperties getOid()
-
getRepositoryViewerProperties
@Nullable public @Nullable VcsRepositoryViewerProperties getRepositoryViewerProperties()
-
getParent
@Nullable public @Nullable String getParent()
-
getParentName
@Nullable public @Nullable String getParentName()
-
hasParent
public boolean hasParent()
-
getProject
@Nullable public @Nullable ProjectProperties getProject()
-
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
-
-