g-Eclipse
Release 1.0.0

eu.geclipse.core.model
Interface IGridResourceCategory


public interface IGridResourceCategory

Grid resources are grouped within so called resource categories. This interface is the base of this mechanism. Resource categories are either top level or are children of other categories. Furthermore they may be active in which case they are used to query resources with an information system or they are passive in which case they just serve as container for other categories. Resource categories can be defined with the eu.geclipse.core.gridResourceCategory extension point.


Method Summary
 java.lang.String getName()
          Get the name of this resource category.
 IGridResourceCategory getParent()
          Get the parent category or null if this is a top-level category.
 boolean isActive()
          Returns true if this category is an active category.
 

Method Detail

getName

java.lang.String getName()
Get the name of this resource category. This name will be displayed in the resource tree of a grid project.

Returns:
The categories name.

getParent

IGridResourceCategory getParent()
Get the parent category or null if this is a top-level category.

Returns:
The parent category of this category or null.

isActive

boolean isActive()
Returns true if this category is an active category. In this case this category is used to query the information system for available resources. If this category is passive it is only used as a container for other categories.

Returns:
true if this category is active.

g-Eclipse
Release 1.0.0