|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.plan.PlanPermissionSkeleton
@Internal @Deprecated public class PlanPermissionSkeleton
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
|---|
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS |
| Fields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier |
|---|
getPlanKeyFunction |
| Fields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider |
|---|
getPlanKey |
| Constructor Summary | |
|---|---|
PlanPermissionSkeleton(long id,
String planKey,
Class<? extends Plan> planClass,
PlanType planType)
Deprecated. |
|
| Method Summary | |
|---|---|
long |
getAverageBuildDuration()
Deprecated. Returns an average duration of the recent builds |
BuildDefinition |
getBuildDefinition()
Deprecated. Returns the BuildDefinition that backs this Plan |
BuildDefinitionForBuild |
getBuildDefinitionXml()
Deprecated. |
String |
getBuildKey()
Deprecated. This objects specific portion of the key. |
BuildLogger |
getBuildLogger()
Deprecated. Returns the helper object to deal with logging |
String |
getBuildName()
Deprecated. |
String |
getCurrentStatus()
Deprecated. Retuns a string key as to what the status is. |
String |
getDescription()
Deprecated. |
List<VariableDefinition> |
getEffectiveVariables()
Deprecated. Return effective list of VariableDefinitions bind to this Plan. |
int |
getFirstBuildNumber()
Deprecated. What the number of the first build we have? It may not be 1 as some may have been removed! |
long |
getId()
Deprecated. |
String |
getKey()
Deprecated. Obtain the plan's unique key (uppercase alphanumeric). |
List<Labelling> |
getLabellings()
Deprecated. Used only for Hibernate mapping purposes. |
List<String> |
getLabelNames()
Deprecated. Returns all the names of related labels with a namesapce of :label |
int |
getLastBuildNumber()
Deprecated. What was the number of the latest build (may be being built) |
ResultsSummary |
getLatestResultsSummary()
Deprecated. Get the latest finished result |
Plan |
getMaster()
Deprecated. Return the master plan if one exists. |
long |
getMasterId()
Deprecated. Database id of master of this ChainBranch |
String |
getName()
Deprecated. Returns the full name for the build in the form of "project name - build name" e.g. |
int |
getNextBuildNumber()
Deprecated. The next build number represents the number of the next build result that's to be executed |
Class<? extends Plan> |
getPlanClass()
Deprecated. |
PlanKey |
getPlanKey()
Deprecated. Get the PlanKey identifier for this Plan |
PlanType |
getPlanType()
Deprecated. |
Project |
getProject()
Deprecated. Returns the parent Project |
List<Labelling> |
getRelatedLabellings()
Deprecated. Returns labellings that's application for the plan level |
String |
getType()
Deprecated. Returns the string representation of the type. |
List<VariableDefinition> |
getVariables()
Deprecated. Return list of VariableDefinitions bind to this Plan |
boolean |
hasMaster()
Deprecated. |
boolean |
isActive()
Deprecated. Is the plan queued or building? |
boolean |
isBusy()
Deprecated. Is the Plan "busy". |
boolean |
isExecuting()
Deprecated. Is the build currently being executed? |
boolean |
isMarkedForDeletion()
Deprecated. Is the plan set to be deleted in the future |
boolean |
isSuspendedFromBuilding()
Deprecated. Checks if the build has been enabled / disabled. |
void |
setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml)
Deprecated. |
void |
setBuildKey(String buildKey)
Deprecated. Define the build's unique key (uppercase alphanumeric) |
void |
setBuildName(String buildName)
Deprecated. |
void |
setDescription(String description)
Deprecated. |
void |
setFirstBuildNumber(int firstBuildNumber)
Deprecated. |
void |
setId(long id)
Deprecated. |
void |
setKey(String fullKey)
Deprecated. |
void |
setLabellings(List<Labelling> labellings)
Deprecated. |
void |
setLastBuildNumber(int lastBuildNumber)
Deprecated. |
void |
setMarkedForDeletion(boolean markedForDeletion)
Deprecated. |
void |
setMaster(Plan master)
Deprecated. Set which plan is the master of this plan. |
void |
setName(String name)
Deprecated. |
void |
setNextBuildNumber(int nextBuildNumber)
Deprecated. |
void |
setPlanKey(PlanKey fullKey)
Deprecated. |
void |
setProject(Project project)
Deprecated. |
void |
setSuspendedFromBuilding(boolean suspendFromBuilding)
Deprecated. Sets the build to suspend temporarily |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlanPermissionSkeleton(long id,
String planKey,
Class<? extends Plan> planClass,
PlanType planType)
| Method Detail |
|---|
public long getId()
getId in interface BambooIdProvidergetId in interface PlanIdentifierpublic void setId(long id)
setId in interface BambooObject@NotNull public PlanKey getPlanKey()
PlanIdentifierPlanKey identifier for this Plan
getPlanKey in interface PlanIdentifiergetPlanKey in interface PlanKeyProvider@NotNull public String getKey()
ImmutablePlanPlanIdentifier.getPlanKey()
getKey in interface ImmutablePlanpublic Class<? extends Plan> getPlanClass()
@NotNull public PlanType getPlanType()
getPlanType in interface PlanIdentifierpublic void setKey(String fullKey)
setKey in interface Plan
public void setPlanKey(@NotNull
PlanKey fullKey)
setPlanKey in interface Plan@NotNull public String getBuildKey()
PlanIdentifierPlanIdentifier.getPlanKey().
getBuildKey in interface PlanIdentifierpublic void setBuildKey(String buildKey)
Plan
setBuildKey in interface PlanbuildKey - The value of the key@NotNull public String getName()
PlanIdentifier
getName in interface PlanIdentifiergetName in interface DescriptionProvidergetName in interface NameProviderpublic String getDescription()
getDescription in interface DescriptionProvider@NotNull public String getBuildName()
getBuildName in interface PlanIdentifierPlanIdentifier.getName()public void setBuildName(String buildName)
setBuildName in interface Planpublic void setMaster(Plan master)
Plan
setMaster in interface Planpublic Plan getMaster()
ImmutablePlan
getMaster in interface ImmutablePlanPlan if one exists.public boolean hasMaster()
hasMaster in interface ImmutablePlan@NotNull public String getCurrentStatus()
ImmutablePlan
getCurrentStatus in interface ImmutablePlanpublic boolean isExecuting()
ImmutablePlan
isExecuting in interface ImmutablePlanpublic void setSuspendedFromBuilding(boolean suspendFromBuilding)
Plan
setSuspendedFromBuilding in interface Planpublic boolean isSuspendedFromBuilding()
PlanIdentifier
isSuspendedFromBuilding in interface PlanIdentifierpublic int getLastBuildNumber()
ImmutablePlan
getLastBuildNumber in interface ImmutablePlanpublic int getFirstBuildNumber()
ImmutablePlan
getFirstBuildNumber in interface ImmutablePlan@NotNull public BuildDefinition getBuildDefinition()
ImmutablePlanBuildDefinition that backs this Plan
getBuildDefinition in interface ImmutablePlanBuildDefinition object.@NotNull public Project getProject()
ImmutablePlanProject
getProject in interface ImmutablePlangetProject in interface PlanIdentifierProject. Never nullpublic void setProject(Project project)
setProject in interface Planpublic int getNextBuildNumber()
ImmutablePlan
getNextBuildNumber in interface ImmutablePlanpublic void setNextBuildNumber(int nextBuildNumber)
setNextBuildNumber in interface Planpublic void setLastBuildNumber(int lastBuildNumber)
setLastBuildNumber in interface Planpublic void setFirstBuildNumber(int firstBuildNumber)
setFirstBuildNumber in interface Planpublic BuildDefinitionForBuild getBuildDefinitionXml()
getBuildDefinitionXml in interface Planpublic void setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml)
setBuildDefinitionXml in interface Plan@NotNull public List<Labelling> getLabellings()
Plan
getLabellings in interface Planpublic void setLabellings(List<Labelling> labellings)
setLabellings in interface Plan@NotNull public List<Labelling> getRelatedLabellings()
Plan
getRelatedLabellings in interface Plan@NotNull public BuildLogger getBuildLogger()
ImmutablePlan
getBuildLogger in interface ImmutablePlanBuildLogger. @NotNullpublic boolean isActive()
ImmutablePlan
isActive in interface ImmutablePlanpublic long getAverageBuildDuration()
ImmutablePlan
getAverageBuildDuration in interface ImmutablePlan@NotNull public String getType()
ImmutablePlanPlanType and used in Freemarker.
getType in interface ImmutablePlanpublic ResultsSummary getLatestResultsSummary()
ImmutablePlan
getLatestResultsSummary in interface ImmutablePlangetLatestResultsSummary in interface Planpublic boolean isBusy()
ImmutablePlanPlan "busy". Busy is defined by the plan having a lock held on it. This is done during change
detection, dependency listner and the like
isBusy in interface ImmutablePlan@NotNull public List<String> getLabelNames()
ImmutablePlan
getLabelNames in interface ImmutablePlanpublic boolean isMarkedForDeletion()
ImmutablePlan
isMarkedForDeletion in interface ImmutableDeletableisMarkedForDeletion in interface ImmutablePlanpublic void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion in interface Deletable
public void setName(@NotNull
String name)
setName in interface Describable
public void setDescription(@Nullable
String description)
setDescription in interface Describable@NotNull public List<VariableDefinition> getVariables()
ImmutablePlanVariableDefinitions bind to this Plan
getVariables in interface ImmutablePlanVariableDefinition@NotNull public List<VariableDefinition> getEffectiveVariables()
ImmutablePlanVariableDefinitions bind to this Plan.
For master Plans this will return the same result as ImmutablePlan.getVariables().
Non-master plans will produce the sum of:
- all master's variables which keys do not appear in result of ImmutablePlan.getVariables()
- result of ImmutablePlan.getVariables()
getEffectiveVariables in interface ImmutablePlanVariableDefinitionpublic long getMasterId()
PlanIdentifier
getMasterId in interface PlanIdentifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||