com.atlassian.bamboo.deployments.projects.persistence
Class MutableDeploymentProjectImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.deployments.projects.persistence.MutableDeploymentProjectImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, InternalDeploymentProject, MutableDeploymentProject, DescriptionProvider, NameProvider, java.lang.Cloneable
public class MutableDeploymentProjectImpl
- extends BambooEntityObject
- implements MutableDeploymentProject
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MutableDeploymentProjectImpl
public MutableDeploymentProjectImpl()
getKey
@NotNull
public DeploymentKey getKey()
- Specified by:
getKey
in interface InternalDeploymentProject
setKey
public void setKey(@NotNull
DeploymentKey key)
- Deliberately not on the interface
- Parameters:
key
-
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
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface MutableDeploymentProject
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface InternalDeploymentProject
- Specified by:
getDescription
in interface DescriptionProvider
- Returns:
- Optional, longer description of the project
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interface MutableDeploymentProject
getPlanKey
@NotNull
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.
setPlanKey
public void setPlanKey(PlanKey planKey)
- Specified by:
setPlanKey
in interface MutableDeploymentProject
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.