com.atlassian.bamboo.project
Class ProjectIdentifierImpl

java.lang.Object
  extended by com.atlassian.bamboo.project.ProjectIdentifierImpl
All Implemented Interfaces:
ProjectIdentifier, DescriptionProvider, NameProvider

public class ProjectIdentifierImpl
extends java.lang.Object
implements ProjectIdentifier


Constructor Summary
ProjectIdentifierImpl(java.lang.String key, java.lang.String name, java.lang.String description)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getKey()
          Returns key of the project.
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectIdentifierImpl

public ProjectIdentifierImpl(java.lang.String key,
                             java.lang.String name,
                             java.lang.String description)
Method Detail

getKey

@NotNull
public java.lang.String getKey()
Description copied from interface: ProjectIdentifier
Returns key of the project. Keys are capital, alphanumeric strings.

Specified by:
getKey in interface ProjectIdentifier
Returns:
key of project. Must not be null.

getName

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

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface DescriptionProvider


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.