com.atlassian.user.repository
Interface RepositoryIdentifier

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultRepositoryIdentifier, DelegatingRepository

public interface RepositoryIdentifier
extends java.io.Serializable

The identifier of a repository, which consists of a key and a name. The key is used as the unique identifier for the respository. The name is used in the user interface for identifying the repository for a user.


Method Summary
 java.lang.String getKey()
          String uniquely identifying this repository.
 java.lang.String getName()
          String with a more user-friendly name for the repository.
 

Method Detail

getKey

public java.lang.String getKey()
String uniquely identifying this repository. By default, it is configured in the key attribute on the repository tag in the atlassian-user.xml file.

Implementation should not allow the key to be null.


getName

public java.lang.String getName()
String with a more user-friendly name for the repository.

Implementations should not allow the name to be null.



Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.