Interface IRepositoryReference
-
- All Known Implementing Classes:
RepositoryReference
public interface IRepositoryReference
- Since:
- 2.0
- Restriction:
- This interface is not intended to be implemented by clients. Instead clients should use one of the class implementing this interface.
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URI
getLocation()
Returns the location of the referenced repositoryString
getNickname()
Returns the optional nickname of the referenced repositoryint
getOptions()
Returns bit-wise or of option constants (currently eitherIRepository.ENABLED
orIRepository.NONE
).int
getType()
Returns the type of the referenced repository (currently eitherIRepository.TYPE_METADATA
orIRepository.TYPE_ARTIFACT
)
-
-
-
Method Detail
-
getLocation
URI getLocation()
Returns the location of the referenced repository- Returns:
- the location
-
getType
int getType()
Returns the type of the referenced repository (currently eitherIRepository.TYPE_METADATA
orIRepository.TYPE_ARTIFACT
)- Returns:
- the repository type
-
getOptions
int getOptions()
Returns bit-wise or of option constants (currently eitherIRepository.ENABLED
orIRepository.NONE
).- Returns:
- bit-wise or of option constants
-
getNickname
String getNickname()
Returns the optional nickname of the referenced repository- Returns:
- The nickname or
null
-
-