com.atlassian.bamboo.deployments.projects.persistence
Class MutableDeploymentProjectImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by 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


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
MutableDeploymentProjectImpl()
           
 
Method Summary
 java.lang.String getDescription()
           
 DeploymentKey getKey()
           
 java.lang.String getName()
           
 PlanKey getPlanKey()
          Not really used by anything except UI
 void setDescription(java.lang.String description)
           
 void setKey(DeploymentKey key)
          Deliberately not on the interface
 void setName(java.lang.String name)
           
 void setPlanKey(PlanKey planKey)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
equals, getId, hashCode, setId
 
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
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.deployments.projects.InternalDeploymentProject
getId
 

Constructor Detail

MutableDeploymentProjectImpl

public MutableDeploymentProjectImpl()
Method Detail

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.