|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Project
Represents a Bamboo project object. Projects are top level entities and can have multiple Plan
s. A project
can also have a default BuildDefinition
that Plan
s extend.
Important: getPlans()
, getTopLevelPlans()
} are lazy loaded for performance reasons.
If you need to guarantee that these collections are available use PlanManager.getPlansByProject(Project, Class)
Method Summary | |
---|---|
java.lang.String |
getCurrentStatus()
Returns the string representation the current status of a build. |
java.util.List<Labelling> |
getLabellings()
|
java.util.List<Plan> |
getPlans()
Deprecated. since 3.2 PlanManager.getPlansByProject(Project, Class) |
java.util.List<Labelling> |
getRelatedLabellings()
|
java.util.List<TopLevelPlan> |
getTopLevelPlans()
Deprecated. since 3.2 PlanManager.getPlansByProject(Project, Class) |
void |
setKey(java.lang.String key)
Sets the key for the project. |
void |
setLabellings(java.util.List<Labelling> labellings)
|
void |
setName(java.lang.String name)
|
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable |
---|
setMarkedForDeletion |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
setId |
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider |
---|
getId |
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable |
---|
isMarkedForDeletion |
Methods inherited from interface com.atlassian.bamboo.Describable |
---|
setDescription |
Methods inherited from interface com.atlassian.bamboo.project.ProjectIdentifier |
---|
getKey, getName |
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider |
---|
getDescription |
Method Detail |
---|
void setName(@NotNull java.lang.String name)
setName
in interface Describable
void setKey(@NotNull java.lang.String key)
key
- @NotNull @Deprecated java.util.List<Plan> getPlans()
PlanManager.getPlansByProject(Project, Class)
Plan
associated with the Project
. Returns Collections.emptyList()
if
there are no Plan
s for the project.
List
of Plan
s. Collections.emptyList()
if no plans.@Deprecated java.util.List<TopLevelPlan> getTopLevelPlans()
PlanManager.getPlansByProject(Project, Class)
java.lang.String getCurrentStatus()
ImmutablePlan.getCurrentStatus()
.
It will return "current" if any plan is building, and "fail" if any plan is failing.
java.util.List<Labelling> getLabellings()
void setLabellings(java.util.List<Labelling> labellings)
java.util.List<Labelling> getRelatedLabellings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |