g-Eclipse
Release 1.0.0

eu.geclipse.batch
Interface IBatchServiceDescription

All Known Implementing Classes:
PBSBatchServiceDescription

public interface IBatchServiceDescription

This interface is the base for all classes that describe specialized batch services like pbs.


Method Summary
 IBatchService createService(java.lang.String name)
          Create a service from this IBatchServiceDescription.
 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.
 

Method Detail

createService

IBatchService createService(java.lang.String name)
                            throws ProblemException
Create a service from this IBatchServiceDescription.

Parameters:
name - batch service name, i.e. the configuration file that were used to instantiate this service
Returns:
A new batch service that is created from the settings of this IBatchServiceDescription.
Throws:
ProblemException - If the service could not be created due to some error.

getServiceTypeName

java.lang.String getServiceTypeName()
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.

Returns:
The name of the type of service that is described by this description.

supportsService

boolean supportsService(java.lang.String service)
Returns whether this implementation can support the requested service.

Parameters:
service - The service to test for
Returns:
Returns true if this implementation supports the service, false otherwise.

g-Eclipse
Release 1.0.0