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
Modifier and TypeMethodDescriptionReturns the location of the referenced repositoryReturns the optional nickname of the referenced repositoryint
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 Details
-
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
-