|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.batch.AbstractBatchService
public abstract class AbstractBatchService
Common methods for interacting with a batch service.
| Constructor Summary | |
|---|---|
AbstractBatchService(IBatchServiceDescription description,
java.lang.String name)
Construct a new AbstractBatchService from the
specified IBatchServiceDescription. |
|
| Method Summary | |
|---|---|
boolean |
connectToServer(ISSHConnectionInfo sshConnectionInfo)
Establishes a ssh-connection to the server running the PBS service. |
void |
disconnectFromServer()
Tears down an already established ssh-connection to the server. |
IBatchServiceDescription |
getDescription()
Get the batch service description that was used to create this service. |
java.lang.String |
getName()
Get the batch service name, i.e. the configuration file that were used to instantiate this service. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eu.geclipse.batch.IBatchService |
|---|
createQueue, createQueue, createQueue, delJob, delQueue, disableQueue, disableQueues, disableWN, enableQueue, enableQueues, enableWN, getJobs, getQueues, getWorkerNodes, holdJob, holdJobs, moveJob, moveJobs, releaseJob, releaseJobs, reRunJob, reRunJobs, setMaxWallTime, startQueue, startQueues, stopQueue, stopQueues |
| Constructor Detail |
|---|
public AbstractBatchService(IBatchServiceDescription description,
java.lang.String name)
AbstractBatchService from the
specified IBatchServiceDescription.
description - The IBatchServiceDescription from which
this service should be created.name - batch service name, i.e. the configuration file that were
used to instantiate this service| Method Detail |
|---|
public IBatchServiceDescription getDescription()
IBatchService
getDescription in interface IBatchServicepublic java.lang.String getName()
getName in interface IBatchService
public boolean connectToServer(ISSHConnectionInfo sshConnectionInfo)
throws ProblemException
connectToServer in interface IBatchServicesshConnectionInfo - Holding the information needed to establish a ssh
connection with the PBS server.
true if the connection is established,
false otherwise.
ProblemException - If the ssh connection cannot be establishedpublic void disconnectFromServer()
disconnectFromServer in interface IBatchService
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||