com.atlassian.bamboo.deployments.projects
Class DeploymentProjectIdentifier

java.lang.Object
  extended by com.atlassian.bamboo.deployments.projects.DeploymentProjectIdentifier
All Implemented Interfaces:
BambooIdProvider, DeploymentProject, InternalDeploymentProject, DescriptionProvider, NameProvider

public class DeploymentProjectIdentifier
extends java.lang.Object
implements DeploymentProject


Constructor Summary
DeploymentProjectIdentifier(long id)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.List<? extends Environment> getEnvironments()
           
 long getId()
           
 DeploymentKey getKey()
           
 java.lang.String getName()
           
 Operations getOperations()
           
 PlanKey getPlanKey()
          Not really used by anything except UI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentProjectIdentifier

public DeploymentProjectIdentifier(long id)
Method Detail

getId

public long getId()
Specified by:
getId in interface BambooIdProvider
Specified by:
getId in interface InternalDeploymentProject
Returns:
unique identifier (in this case from database)

getKey

@NotNull
public DeploymentKey getKey()
Specified by:
getKey in interface InternalDeploymentProject

getName

@NotNull
public java.lang.String getName()
Specified by:
getName in interface InternalDeploymentProject
Specified by:
getName in interface DescriptionProvider
Specified by:
getName in interface NameProvider
Returns:
User friendly shortish name for this deployment project. Must be unique with in Bamboo

getDescription

@Nullable
public java.lang.String getDescription()
Specified by:
getDescription in interface InternalDeploymentProject
Specified by:
getDescription in interface DescriptionProvider
Returns:
Optional, longer description of the project

getPlanKey

@Nullable
public PlanKey getPlanKey()
Description copied from interface: InternalDeploymentProject
Not really used by anything except UI

Specified by:
getPlanKey in interface InternalDeploymentProject
Returns:
the plan key of the linked plan to this deployment Project.

getEnvironments

public java.util.List<? extends Environment> getEnvironments()
Specified by:
getEnvironments in interface DeploymentProject
Returns:
a list of all environments belonging to this deployment project.

getOperations

public Operations getOperations()
Specified by:
getOperations in interface DeploymentProject
Returns:
Operations object, describing detailed permissions for project


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.