|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A Location describes a location aspect of a module. Source modules are kept in a version control
system, binary (third party) modules are kept in libraries. These locations are maintained in
locations.xml.
A developer should maintain a location-authentication.xml file in the Karma configuration directory.
This file contains
| Method Summary | |
java.lang.StringBuffer |
asXML()
Returns a <location>-element for the specific type of location. |
void |
connect()
Tries to open a connection to the server if the protocol is a remote protocol. |
AuthenticatorKey |
getAuthenticatorKey()
|
java.lang.String |
getId()
A locations' identifier. |
LocationType |
getType()
The locations' type descriptor. |
boolean |
isAvailable()
Is the (remote) location available on the specified port ? Usefull to implement for remote locations. |
void |
setWorkingContext(WorkingContext workingContext)
|
| Method Detail |
public boolean isAvailable()
false if the location is not available, true if it is.public LocationType getType()
Location.Type instance.public java.lang.String getId()
location-elements. This id is
matched against the id-attribute of a location-element in the
location-authentication.xml file (see class documentation Location.
public java.lang.StringBuffer asXML()
public void connect()
throws AuthenticationException,
LocationException
Tries to open a connection to the server if the protocol is a remote protocol.
LocationException - When connection failed. The ErrorCode will tell the reason.
AuthenticationExceptionpublic void setWorkingContext(WorkingContext workingContext)
public AuthenticatorKey getAuthenticatorKey()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||