Package com.atlassian.bamboo.project
Interface Project
- All Superinterfaces:
BambooIdProvider
,BambooObject
,BambooObjectWithOid
,Deletable
,Describable
,DescriptionProvider
,EntityWithOid
,ImmutableDeletable
,ImmutableEntityWithOid
,NameProvider
,ProjectIdentifier
- All Known Implementing Classes:
DefaultProject
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.-
Method Summary
Modifier and TypeMethodDescriptiondefault BambooEntityType
Entity type of this object, used inBambooEntityOid
.@Nullable VcsBambooSpecsSource
void
Sets the key for the project.void
setLabellings
(List<Labelling> labellings) void
void
setVcsBambooSpecsSource
(VcsBambooSpecsSource vcsBambooSpecsSource) Sets the specs source for the project.Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
Methods inherited from interface com.atlassian.bamboo.Describable
setDescription
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
Methods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOid
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOid
Methods inherited from interface com.atlassian.bamboo.project.ProjectIdentifier
getId, getKey, getName
-
Method Details
-
setName
- Specified by:
setName
in interfaceDescribable
-
setKey
Sets the key for the project. Must not be null- Parameters:
key
-
-
getLabellings
-
setLabellings
-
getRelatedLabellings
-
getVcsBambooSpecsSource
- Returns:
- specs source used to manage a project or null if the project is not managed by RSS
-
setVcsBambooSpecsSource
Sets the specs source for the project.- Parameters:
vcsBambooSpecsSource
- specs source
-
getEntityType
Description copied from interface:ImmutableEntityWithOid
Entity type of this object, used inBambooEntityOid
.- Specified by:
getEntityType
in interfaceImmutableEntityWithOid
-