g-Eclipse
Release 1.0.0

eu.geclipse.core.model.impl
Class GridResourceCategoryFactory

java.lang.Object
  extended by eu.geclipse.core.model.impl.GridResourceCategoryFactory

public class GridResourceCategoryFactory
extends java.lang.Object

Factory class for resource categories. The class looks up all extensions of the eu.geclipse.core.gridResourceCategory extension point for possible implementations.


Field Summary
static java.lang.String ID_APPLICATIONS
          Unique ID for the default applications category as defined by the g-Eclipse core plug-in.
static java.lang.String ID_COMPUTING
          Unique ID for the default computing category as defined by the g-Eclipse core plug-in.
static java.lang.String ID_DATA_SERVICES
          Unique ID for the default data services category as defined by the g-Eclipse core plug-in.
static java.lang.String ID_INFO_SERVICES
          Unique ID for the default info services category as defined by the g-Eclipse core plug-in.
static java.lang.String ID_INSTRUMENTATION_SERVICES
          Unique ID for the default instrumentation services category as defined by the g-Eclipse core plug-in.
static java.lang.String ID_JOB_SERVICES
          Unique ID for the default job services category as defined by the g-Eclipse core plug-in.
static java.lang.String ID_OTHER_SERVICES
          Unique ID for the default other services category as defined by the g-Eclipse core plug-in.
static java.lang.String ID_SERVICES
          Unique ID for the default services category as defined by the g-Eclipse core plug-in.
static java.lang.String ID_STORAGE
          Unique ID for the default storage category as defined by the g-Eclipse core plug-in.
 
Constructor Summary
GridResourceCategoryFactory()
           
 
Method Summary
static IGridResourceCategory getCategory(java.lang.String id)
          Get the resource category with the specified ID or null if no such category could be found.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_APPLICATIONS

public static final java.lang.String ID_APPLICATIONS
Unique ID for the default applications category as defined by the g-Eclipse core plug-in.

See Also:
Constant Field Values

ID_COMPUTING

public static final java.lang.String ID_COMPUTING
Unique ID for the default computing category as defined by the g-Eclipse core plug-in.

See Also:
Constant Field Values

ID_SERVICES

public static final java.lang.String ID_SERVICES
Unique ID for the default services category as defined by the g-Eclipse core plug-in.

See Also:
Constant Field Values

ID_DATA_SERVICES

public static final java.lang.String ID_DATA_SERVICES
Unique ID for the default data services category as defined by the g-Eclipse core plug-in.

See Also:
Constant Field Values

ID_INFO_SERVICES

public static final java.lang.String ID_INFO_SERVICES
Unique ID for the default info services category as defined by the g-Eclipse core plug-in.

See Also:
Constant Field Values

ID_JOB_SERVICES

public static final java.lang.String ID_JOB_SERVICES
Unique ID for the default job services category as defined by the g-Eclipse core plug-in.

See Also:
Constant Field Values

ID_INSTRUMENTATION_SERVICES

public static final java.lang.String ID_INSTRUMENTATION_SERVICES
Unique ID for the default instrumentation services category as defined by the g-Eclipse core plug-in.

See Also:
Constant Field Values

ID_OTHER_SERVICES

public static final java.lang.String ID_OTHER_SERVICES
Unique ID for the default other services category as defined by the g-Eclipse core plug-in.

See Also:
Constant Field Values

ID_STORAGE

public static final java.lang.String ID_STORAGE
Unique ID for the default storage category as defined by the g-Eclipse core plug-in.

See Also:
Constant Field Values
Constructor Detail

GridResourceCategoryFactory

public GridResourceCategoryFactory()
Method Detail

getCategory

public static IGridResourceCategory getCategory(java.lang.String id)
Get the resource category with the specified ID or null if no such category could be found.

Parameters:
id - The ID of the category.
Returns:
An implementation of IGridResourceCategory filled with the information from the corresponding extension or null if no category with the specified ID could be found.

g-Eclipse
Release 1.0.0