com.atlassian.bamboo.project
Interface ProjectIdentifier

All Superinterfaces:
DescriptionProvider, NameProvider
All Known Subinterfaces:
Project
All Known Implementing Classes:
BuildObjectForTests, DefaultProject, ProjectIdentifierImpl, TestBuildObjectForTests

public interface ProjectIdentifier
extends DescriptionProvider

Represents the minimal information about a project

Since:
v4.0

Method Summary
 java.lang.String getKey()
          Returns key of the project.
 java.lang.String getName()
           
 
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
 

Method Detail

getKey

@NotNull
java.lang.String getKey()
Returns key of the project. Keys are capital, alphanumeric strings.

Returns:
key of project. Must not be null.

getName

@NotNull
java.lang.String getName()
Specified by:
getName in interface DescriptionProvider
Specified by:
getName in interface NameProvider
Returns:
the name of the project.


Copyright © 2012 Atlassian. All Rights Reserved.