Eclipse Platform
Release 3.6

org.eclipse.equinox.p2.repository
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
 URI getLocation()
          Returns the location of the referenced repository
 String getNickname()
          Returns the optional nickname of the referenced repository
 int getOptions()
          Returns bit-wise or of option constants (currently either IRepository.ENABLED or IRepository.NONE).
 int getType()
          Returns the type of the referenced repository (currently either IRepository.TYPE_METADATA or IRepository.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 either IRepository.TYPE_METADATA or IRepository.TYPE_ARTIFACT)

Returns:
the repository type

getOptions

int getOptions()
Returns bit-wise or of option constants (currently either IRepository.ENABLED or IRepository.NONE).

Returns:
bit-wise or of option constants

getNickname

String getNickname()
Returns the optional nickname of the referenced repository

Returns:
The nickname or null

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.