|
||||||||||
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 Build
s. A project
can also have a default BuildDefinition
that Build
s extend.
Method Summary | |
---|---|
java.util.List<Build> |
getBuilds()
Returns all Build associated with the Project . |
java.util.List<Chain> |
getChains()
Returns all the Chain associated with the Project |
java.lang.String |
getCurrentStatus()
Returns the string representatioin the current status of a build. |
java.lang.String |
getKey()
Returns key of the project. |
java.util.List<Labelling> |
getLabellings()
|
java.lang.String |
getName()
|
java.util.List<Plan> |
getPlans()
Returns all Plan associated with the Project . |
java.util.List<Labelling> |
getRelatedLabellings()
|
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.core.BambooObject |
---|
getId, setId |
Methods inherited from interface com.atlassian.bamboo.Describable |
---|
setDescription |
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider |
---|
getDescription |
Method Detail |
---|
@NotNull java.lang.String getKey()
@NotNull java.lang.String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
void setName(@NotNull java.lang.String name)
setName
in interface Describable
void setKey(@NotNull java.lang.String key)
key
- @NotNull java.util.List<Plan> getPlans()
Plan
associated with the Project
. Returns Collections.EMPTY_LIST`
if
there are no Plan
s for the project.
List
of Plan
s. Collections.EMPTY_LIST`
if no plans.@NotNull java.util.List<Build> getBuilds()
Build
associated with the Project
. Returns Collections.EMPTY_LIST`
if
there are no Build
s for the project.
List
of Build
s. Collections.EMPTY_LIST`
if no builds.@NotNull java.util.List<Chain> getChains()
Chain
associated with the Project
java.lang.String getCurrentStatus()
Build@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 |