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