Class RestDeploymentVersionStatus
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.deployments.versions.RestDeploymentVersionStatus
-
- All Implemented Interfaces:
BambooIdProvider
,DeploymentVersionStatus
,InternalDeploymentVersionStatus
,CreationDateProvider
,Serializable
public class RestDeploymentVersionStatus 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 RestDeploymentVersionStatus(@NotNull DeploymentVersionStatus versionStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreationDate()
String
getDisplayName()
long
getId()
String
getSanitizedUserName()
String
getUserName()
DeploymentVersionState
getVersionState()
-
-
-
Constructor Detail
-
RestDeploymentVersionStatus
public RestDeploymentVersionStatus(@NotNull @NotNull DeploymentVersionStatus versionStatus)
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getId
in interfaceBambooIdProvider
- Specified by:
getId
in interfaceInternalDeploymentVersionStatus
-
getVersionState
public DeploymentVersionState getVersionState()
- Specified by:
getVersionState
in interfaceInternalDeploymentVersionStatus
-
getUserName
public String getUserName()
- Specified by:
getUserName
in interfaceInternalDeploymentVersionStatus
-
getSanitizedUserName
public String getSanitizedUserName()
- Specified by:
getSanitizedUserName
in interfaceDeploymentVersionStatus
- Returns:
- Sanitized user name
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceDeploymentVersionStatus
-
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate
in interfaceCreationDateProvider
- Specified by:
getCreationDate
in interfaceInternalDeploymentVersionStatus
- Returns:
- Date the version object was created.
-
-