Class DeploymentProjectIdentifier
- java.lang.Object
-
- com.atlassian.bamboo.deployments.projects.DeploymentProjectIdentifier
-
- All Implemented Interfaces:
BambooIdProvider,ImmutableEntityWithOid,DeploymentProject,InternalDeploymentProject,DescriptionProvider,NameProvider
public class DeploymentProjectIdentifier extends Object implements DeploymentProject
-
-
Constructor Summary
Constructors Constructor Description DeploymentProjectIdentifier(long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable StringgetDescription()List<? extends Environment>getEnvironments()longgetId()@NotNull DeploymentKeygetKey()@NotNull StringgetName()BambooEntityOidgetOid()OID assigned to this object.OperationsgetOperations()@Nullable PlanKeygetPlanKey()@Nullable ImmutableVcsBambooSpecsSourcegetVcsBambooSpecsSource()booleanisRepositorySpecsManaged()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.deployments.projects.InternalDeploymentProject
getEntityType
-
-
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getIdin interfaceBambooIdProvider- Specified by:
getIdin interfaceInternalDeploymentProject- Returns:
- unique identifier (in this case from database)
-
getKey
@NotNull public @NotNull DeploymentKey getKey()
- Specified by:
getKeyin interfaceInternalDeploymentProject
-
getName
@NotNull public @NotNull String getName()
- Specified by:
getNamein interfaceDescriptionProvider- Specified by:
getNamein interfaceInternalDeploymentProject- Specified by:
getNamein interfaceNameProvider- Returns:
- User friendly shortish name for this deployment project. Must be unique with in Bamboo
-
getDescription
@Nullable public @Nullable String getDescription()
- Specified by:
getDescriptionin interfaceDescriptionProvider- Specified by:
getDescriptionin interfaceInternalDeploymentProject- Returns:
- Optional, longer description of the project
-
getPlanKey
@Nullable public @Nullable PlanKey getPlanKey()
- Specified by:
getPlanKeyin interfaceInternalDeploymentProject- Returns:
- the plan key of the linked plan to this deployment Project.
-
getEnvironments
public List<? extends Environment> getEnvironments()
- Specified by:
getEnvironmentsin interfaceDeploymentProject- Returns:
- a list of all environments belonging to this deployment project.
-
getOperations
public Operations getOperations()
- Specified by:
getOperationsin interfaceDeploymentProject- Returns:
Operationsobject, describing detailed permissions for project
-
getOid
public BambooEntityOid getOid()
Description copied from interface:ImmutableEntityWithOidOID assigned to this object. TheBambooEntityOid.getEntityType()should be the same as this object'sImmutableEntityWithOid.getEntityType().- Specified by:
getOidin interfaceImmutableEntityWithOid
-
isRepositorySpecsManaged
public boolean isRepositorySpecsManaged()
- Specified by:
isRepositorySpecsManagedin interfaceDeploymentProject- Returns:
- {boolean} A boolean telling if this deployment project is or was managed by a repository containing specs at any point
-
getVcsBambooSpecsSource
@Nullable public @Nullable ImmutableVcsBambooSpecsSource getVcsBambooSpecsSource()
- Specified by:
getVcsBambooSpecsSourcein interfaceDeploymentProject
-
-