|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| Method Summary | |
|---|---|
boolean |
addHost(IHost conn)
Add a new connection to the list. |
IHost |
cloneHost(ISystemHostPool targetPool,
IHost conn,
String aliasName)
Duplicates a given connection in this list within this list or another list. |
IHost |
createHost(String systemType,
String aliasName,
String hostName)
Create a connection. |
IHost |
createHost(String systemType,
String aliasName,
String hostName,
String description)
Create a connection. |
IHost |
createHost(String systemType,
String aliasName,
String hostName,
String description,
String defaultUserId,
int defaultUserIdLocation)
Create a connection. |
void |
deleteHost(IHost conn)
Removes a given connection from the list and deletes it from disk. |
IHost |
getHost(int pos)
Return the connection at the given zero-based offset |
IHost |
getHost(String aliasName)
Return a connection given its name. |
int |
getHostCount()
Return the number of SystemConnection objects within this pool. |
List |
getHostList()
|
int |
getHostPosition(IHost conn)
Return the zero-based position of a SystemConnection object within its profile. |
IHost[] |
getHosts()
Return array of connections in this pool |
String |
getName()
|
ISystemProfile |
getSystemProfile()
Return the system profile that owns this connection pool |
void |
moveHosts(IHost[] conns,
int delta)
Move existing connections a given number of positions in the same pool. |
void |
orderHosts(String[] names)
Order connections according to user preferences. |
void |
renameHost(IHost conn,
String newName)
Renames a given connection in the list. |
void |
renameHostPool(String newName)
Rename this connection pool. |
void |
setName(String value)
|
void |
updateHost(IHost conn,
String systemType,
String aliasName,
String hostName,
String description,
String defaultUserId,
int defaultUserIdLocation)
Update an existing connection given the new information. |
| Methods inherited from interface org.eclipse.rse.core.persistance.IRSEPersistableContainer |
|---|
commit, isDirty, setDirty, setWasRestored, wasRestored |
| Method Detail |
public ISystemProfile getSystemProfile()
public void renameHostPool(String newName)
public IHost[] getHosts()
public IHost createHost(String systemType,
String aliasName,
String hostName)
throws Exception
Exception
public IHost createHost(String systemType,
String aliasName,
String hostName,
String description)
throws Exception
Exception
public IHost createHost(String systemType,
String aliasName,
String hostName,
String description,
String defaultUserId,
int defaultUserIdLocation)
throws Exception
Exception
public void updateHost(IHost conn,
String systemType,
String aliasName,
String hostName,
String description,
String defaultUserId,
int defaultUserIdLocation)
throws Exception
conn - SystemConnection to be updatedsystemType - system type matching one of the system type names defined via the
systemType extension point.aliasName - unique connection name.hostName - ip name of host.description - optional description of the connection. Can be null.defaultUserId - userId to use as the default for the subsystems.defaultUserIdLocation - where to set the given default user Id. See ISystemUserIdConstants
Exceptionpublic IHost getHost(String aliasName)
public IHost getHost(int pos)
public boolean addHost(IHost conn)
public void deleteHost(IHost conn)
This will:
conn - SystemConnection object to remove
public void renameHost(IHost conn,
String newName)
throws Exception
conn - SystemConnection object to renamenewName - The new name to give that connection.
Exceptionpublic int getHostPosition(IHost conn)
public int getHostCount()
public IHost cloneHost(ISystemHostPool targetPool,
IHost conn,
String aliasName)
throws Exception
targetPool - The SystemConnectionPool to hold the copied connection. Can equal this connection, as long as alias name is uniqueconn - SystemConnection object (within our pool) to clone
Exception
public void moveHosts(IHost[] conns,
int delta)
conns - Array of SystemConnections to move.public void orderHosts(String[] names)
public String getName()
public void setName(String value)
value - The new value of the Name attributepublic List getHostList()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||