Class DeploymentVersionStatusImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.versions.DeploymentVersionStatusImpl
-
- All Implemented Interfaces:
BambooIdProvider,DeploymentVersionStatus,InternalDeploymentVersionStatus,CreationDateProvider,Serializable
public class DeploymentVersionStatusImpl extends Object implements DeploymentVersionStatus
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
-
Constructor Summary
Constructors Constructor Description DeploymentVersionStatusImpl(InternalDeploymentVersionStatus versionStatus, @Nullable String displayName)DeploymentVersionStatusImpl(MutableDeploymentVersionStatus versionStatus, @Nullable String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreationDate()@Nullable StringgetDisplayName()longgetId()StringgetSanitizedUserName()StringgetUserName()DeploymentVersionStategetVersionState()
-
-
-
Constructor Detail
-
DeploymentVersionStatusImpl
public DeploymentVersionStatusImpl(MutableDeploymentVersionStatus versionStatus, @Nullable @Nullable String displayName)
-
DeploymentVersionStatusImpl
public DeploymentVersionStatusImpl(InternalDeploymentVersionStatus versionStatus, @Nullable @Nullable String displayName)
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getIdin interfaceBambooIdProvider- Specified by:
getIdin interfaceInternalDeploymentVersionStatus
-
getVersionState
public DeploymentVersionState getVersionState()
- Specified by:
getVersionStatein interfaceInternalDeploymentVersionStatus
-
getUserName
public String getUserName()
- Specified by:
getUserNamein interfaceInternalDeploymentVersionStatus
-
getDisplayName
@Nullable public @Nullable String getDisplayName()
- Specified by:
getDisplayNamein interfaceDeploymentVersionStatus
-
getSanitizedUserName
public String getSanitizedUserName()
- Specified by:
getSanitizedUserNamein interfaceDeploymentVersionStatus- Returns:
- Sanitized user name
-
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDatein interfaceCreationDateProvider- Specified by:
getCreationDatein interfaceInternalDeploymentVersionStatus- Returns:
- Date the version object was created.
-
-