g-Eclipse
Release 1.0.0

eu.geclipse.batch
Class Extensions

java.lang.Object
  extended by eu.geclipse.batch.Extensions

public class Extensions
extends java.lang.Object

This is a helper class that holds static fields and methods to easily access extension of the g-Eclipse batch extension points.


Field Summary
static java.lang.String BATCH_SERVICE_DESCRIPTION_EXECUTABLE
          The ID of the executable extension of the batch service description configuration element.
static java.lang.String BATCH_SERVICE_ELEMENT
          The ID of the batch service configuration element contained in the batch service management extension point.
static java.lang.String BATCH_SERVICE_NAME_ATTRIBUTE
          The ID of the name attribute of the service element of the batch service extension point.
static java.lang.String BATCH_SERVICE_POINT
          The ID of the batch service extension point.
static java.lang.String BATCH_SERVICE_PROVIDER_EXECUTABLE
          The ID of the executable extension of the batch service provider element.
 
Constructor Summary
Extensions()
           
 
Method Summary
static java.util.List<IBatchServiceDescription> getRegisteredBatchServiceDescriptions()
          Get a list of all currently registered batch service description.
static java.util.List<java.lang.String> getRegisteredBatchServiceNames()
          Get a list with the names of all registered batch services.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BATCH_SERVICE_POINT

public static final java.lang.String BATCH_SERVICE_POINT
The ID of the batch service extension point.

See Also:
Constant Field Values

BATCH_SERVICE_ELEMENT

public static final java.lang.String BATCH_SERVICE_ELEMENT
The ID of the batch service configuration element contained in the batch service management extension point.

See Also:
Constant Field Values

BATCH_SERVICE_NAME_ATTRIBUTE

public static final java.lang.String BATCH_SERVICE_NAME_ATTRIBUTE
The ID of the name attribute of the service element of the batch service extension point.

See Also:
Constant Field Values

BATCH_SERVICE_PROVIDER_EXECUTABLE

public static final java.lang.String BATCH_SERVICE_PROVIDER_EXECUTABLE
The ID of the executable extension of the batch service provider element.

See Also:
Constant Field Values

BATCH_SERVICE_DESCRIPTION_EXECUTABLE

public static final java.lang.String BATCH_SERVICE_DESCRIPTION_EXECUTABLE
The ID of the executable extension of the batch service description configuration element.

See Also:
Constant Field Values
Constructor Detail

Extensions

public Extensions()
Method Detail

getRegisteredBatchServiceNames

public static java.util.List<java.lang.String> getRegisteredBatchServiceNames()
Get a list with the names of all registered batch services. The list will be sorted alphabetically.

Returns:
A list containing the names of the types of all currently available services.

getRegisteredBatchServiceDescriptions

public static java.util.List<IBatchServiceDescription> getRegisteredBatchServiceDescriptions()
Get a list of all currently registered batch service description.

Returns:
A list containing instances of all currently registered extensions of the batch service description configuration elements.

g-Eclipse
Release 1.0.0