Package com.atlassian.bamboo.project
Interface ProjectIdentifier
-
- All Superinterfaces:
BambooIdProvider
,DescriptionProvider
,NameProvider
- All Known Subinterfaces:
Project
- All Known Implementing Classes:
DefaultProject
,ProjectIdentifierImpl
public interface ProjectIdentifier extends DescriptionProvider, BambooIdProvider
Represents the minimal information about a project- Since:
- v4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getId()
@NotNull String
getKey()
Returns key of the project.@NotNull String
getName()
-
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
-
-
-
-
Method Detail
-
getId
long getId()
- Specified by:
getId
in interfaceBambooIdProvider
- Returns:
- Database id of the project
-
getKey
@NotNull @NotNull String getKey()
Returns key of the project. Keys are capital, alphanumeric strings.- Returns:
- key of project. Must not be null.
-
getName
@NotNull @NotNull String getName()
- Specified by:
getName
in interfaceDescriptionProvider
- Specified by:
getName
in interfaceNameProvider
- Returns:
- the name of the project.
-
-