Package com.atlassian.bamboo.project
Class ProjectIdentifierImpl
java.lang.Object
com.atlassian.bamboo.project.ProjectIdentifierImpl
- All Implemented Interfaces:
BambooIdProvider
,ProjectIdentifier
,DescriptionProvider
,NameProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectIdentifier
forProject
(@NotNull Project project) long
getId()
@NotNull String
getKey()
Returns key of the project.@NotNull String
getName()
-
Constructor Details
-
ProjectIdentifierImpl
-
-
Method Details
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
- Specified by:
getId
in interfaceProjectIdentifier
- Returns:
- Database id of the project
-
getKey
Description copied from interface:ProjectIdentifier
Returns key of the project. Keys are capital, alphanumeric strings.- Specified by:
getKey
in interfaceProjectIdentifier
- Returns:
- key of project. Must not be null.
-
getName
- Specified by:
getName
in interfaceDescriptionProvider
- Specified by:
getName
in interfaceNameProvider
- Specified by:
getName
in interfaceProjectIdentifier
- Returns:
- the name of the project.
-
getDescription
- Specified by:
getDescription
in interfaceDescriptionProvider
-
forProject
-