Class IndexedVersionImpl
java.lang.Object
com.atlassian.bamboo.deployments.versions.index.IndexedVersionImpl
- All Implemented Interfaces:
IndexedVersion
,CreationDateProvider
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
Constructor Summary
ConstructorDescriptionIndexedVersionImpl
(@NotNull DeploymentVersion deploymentVersion, @Nullable PlanResultKey planResultKey, @NotNull List<DeploymentVersionLinkedJiraIssue> issues) -
Method Summary
-
Constructor Details
-
IndexedVersionImpl
public IndexedVersionImpl(@NotNull @NotNull DeploymentVersion deploymentVersion, @Nullable @Nullable PlanResultKey planResultKey, @NotNull @NotNull List<DeploymentVersionLinkedJiraIssue> issues)
-
-
Method Details
-
getId
public long getId()- Specified by:
getId
in interfaceIndexedVersion
- Returns:
- id of the version
-
getName
- Specified by:
getName
in interfaceIndexedVersion
- Returns:
- The name of the version
-
getPlanResultKey
- Specified by:
getPlanResultKey
in interfaceIndexedVersion
- Returns:
- the plan result key of the result that was used to create this version
-
getCreationDate
- Specified by:
getCreationDate
in interfaceCreationDateProvider
- Specified by:
getCreationDate
in interfaceIndexedVersion
- Returns:
- date that the version was created
-
getProjectId
public long getProjectId()- Specified by:
getProjectId
in interfaceIndexedVersion
- Returns:
- id of the project the version belongs to.
-
getPlanBranchName
- Specified by:
getPlanBranchName
in interfaceIndexedVersion
- Returns:
- name of branch the version is created from
-
equals
-
hashCode
public int hashCode()
-