g-Eclipse
Release 1.0.0

eu.geclipse.batch.pbs
Class PBSBatchServiceDescription

java.lang.Object
  extended by eu.geclipse.batch.pbs.PBSBatchServiceDescription
All Implemented Interfaces:
IBatchServiceDescription

public class PBSBatchServiceDescription
extends java.lang.Object
implements IBatchServiceDescription

A batch service description that is dedicated to pbs.


Constructor Summary
PBSBatchServiceDescription()
           
 
Method Summary
 IBatchService createService(java.lang.String name)
          Create a PBSBatchService from this description.
 java.lang.String getServiceTypeName()
          Get the name of the service type that is described by this description.
 boolean supportsService(java.lang.String service)
          Returns whether this implementation can support the requested service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PBSBatchServiceDescription

public PBSBatchServiceDescription()
Method Detail

createService

public IBatchService createService(java.lang.String name)
                            throws ProblemException
Create a PBSBatchService from this description.

Specified by:
createService in interface IBatchServiceDescription
Parameters:
name - batch service name, i.e. the configuration file that were used to instantiate this service
Returns:
A pbs batch service that can safely be casted to PBSBatchService.
Throws:
ProblemException - If the service could not be created due to some error.

getServiceTypeName

public java.lang.String getServiceTypeName()
Description copied from interface: IBatchServiceDescription
Get the name of the service type that is described by this description. This is a short name like "PBS" or "LSF" that is used in UI components to reference this description.

Specified by:
getServiceTypeName in interface IBatchServiceDescription
Returns:
The name of the type of service that is described by this description.

supportsService

public boolean supportsService(java.lang.String service)
Description copied from interface: IBatchServiceDescription
Returns whether this implementation can support the requested service.

Specified by:
supportsService in interface IBatchServiceDescription
Parameters:
service - The service to test for
Returns:
Returns true if this implementation supports the service, false otherwise.

g-Eclipse
Release 1.0.0