com.atlassian.bamboo.deployments.versions
Class DeploymentVersionImpl
java.lang.Object
com.atlassian.bamboo.deployments.versions.DeploymentVersionImpl
- All Implemented Interfaces:
- BambooIdProvider, DeploymentVersion, InternalDeploymentVersion, CreationDateProvider, NameProvider, java.io.Serializable
public class DeploymentVersionImpl
- extends java.lang.Object
- implements DeploymentVersion
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DeploymentVersionImpl
public DeploymentVersionImpl(MutableDeploymentVersion version,
@Nullable
DeploymentVersionStatus versionStatus,
java.lang.String creatorDisplayName,
@Nullable
java.lang.String creatorGravatarUrl)
DeploymentVersionImpl
public DeploymentVersionImpl(@NotNull
DeploymentVersion version,
Operations operations)
getId
public long getId()
- Specified by:
getId
in interface BambooIdProvider
- Specified by:
getId
in interface InternalDeploymentVersion
getName
@NotNull
public java.lang.String getName()
- Specified by:
getName
in interface InternalDeploymentVersion
- Specified by:
getName
in interface NameProvider
getPlanBranchName
@Nullable
public java.lang.String getPlanBranchName()
- Specified by:
getPlanBranchName
in interface InternalDeploymentVersion
getCreationDate
public java.util.Date getCreationDate()
- Specified by:
getCreationDate
in interface InternalDeploymentVersion
- Specified by:
getCreationDate
in interface CreationDateProvider
- Returns:
- Date the version object was created.
getCreatorUserName
public java.lang.String getCreatorUserName()
- Specified by:
getCreatorUserName
in interface InternalDeploymentVersion
- Returns:
- the username of the person who created this version
getCreatorDisplayName
public java.lang.String getCreatorDisplayName()
- Specified by:
getCreatorDisplayName
in interface DeploymentVersion
getCreatorGravatarUrl
public java.lang.String getCreatorGravatarUrl()
- Specified by:
getCreatorGravatarUrl
in interface DeploymentVersion
getItems
@NotNull
public java.util.List<DeploymentVersionItem> getItems()
- Specified by:
getItems
in interface DeploymentVersion
- Returns:
- items of DeploymentVersion
getVersionStatus
@Nullable
public DeploymentVersionStatus getVersionStatus()
- Specified by:
getVersionStatus
in interface DeploymentVersion
getVariableContext
@NotNull
public com.google.common.collect.ImmutableList<VariableSubstitutionContext> getVariableContext()
- Specified by:
getVariableContext
in interface DeploymentVersion
getOperations
@NotNull
public Operations getOperations()
- Specified by:
getOperations
in interface DeploymentVersion
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.