|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemMountPathMapper
This interface is used to provide a common way of mapping mounted resources to the temp files project. Since local (or remote) mounts can change or be removed (i.e. disconnected) this provides a way for a vendor to remap a particular resource if the vendor software is able to determine the new mount location. There are a number of use cases where a customized workspace mapping would be desirable:
Method Summary | |
---|---|
String |
getActualHostFor(String hostname,
String remotePath)
Returns the corresponding hostname for the specified path on the specified host. |
String |
getMountedMappingFor(String hostname,
String remotePath)
Returns the system path that can be used for copying the replica back to remote. |
int |
getPriority(String hostname,
String remotePath,
IRemoteFileSubSystem subsystem)
Returns the priority of this mount path mapper. |
String |
getWorkspaceMappingFor(String hostname,
String remotePath,
IRemoteFileSubSystem subsystem)
Returns the qualified workspace path for a replica of this mounted file. |
boolean |
handlesMappingFor(String hostname,
String remotePath,
IRemoteFileSubSystem subsystem)
Indicates whether this mapper handles remapping of the specified resource. |
Method Detail |
---|
String getWorkspaceMappingFor(String hostname, String remotePath, IRemoteFileSubSystem subsystem)
hostname
- the remote hostremotePath
- the remote path as seen by the file subsystemsubsystem
- the remote file subsystem. User the subsystem to customize how the temp file is located. If null
is specified, then the subsystem is not used in determining the mapping
String getActualHostFor(String hostname, String remotePath)
hostname
- the system hostremotePath
- the path on the system host
String getMountedMappingFor(String hostname, String remotePath)
hostname
- the remote hostremotePath
- the remote path as seen by the local file subsystem
boolean handlesMappingFor(String hostname, String remotePath, IRemoteFileSubSystem subsystem)
hostname
- the remote hostremotePath
- the remote path as seen by the file subsystemsubsystem
- the remote file subsystem
int getPriority(String hostname, String remotePath, IRemoteFileSubSystem subsystem)
hostname
- the host name for the file systemremotePath
- the path on the remote file systemsubsystem
- the subsystem used to retrieve files
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |