g-Eclipse
Release 1.0.0

eu.geclipse.core.model
Interface IGridResource

All Superinterfaces:
IGridElement
All Known Subinterfaces:
IExtendedGridInfoService, IGridApplication, IGridComputing, IGridInfoService, IGridJobService, IGridService, IGridStorage
All Known Implementing Classes:
AbstractGridInfoService, GridApplication, GridGlueComputing, GridGlueElement, GridGlueService, GridGlueServiceApplication, GridGlueServiceComputing, GridGlueSite, GridGlueStorage, ParametricJobService

public interface IGridResource
extends IGridElement

Base interface for all grid elements that represents resources on the Grid.


Method Summary
 java.lang.String getHostName()
          Get the host name of the machine (physical or virtual) that represent this resource.
 java.net.URI getURI()
          Get the URI that corresponds to this grid resource.
 
Methods inherited from interface eu.geclipse.core.model.IGridElement
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual
 

Method Detail

getHostName

java.lang.String getHostName()
Get the host name of the machine (physical or virtual) that represent this resource. This name should either be the DNS entry or IP address of this host.

Returns:
Returns the hostname of the machine, may be null if the resource cannot provide its hostname.

getURI

java.net.URI getURI()
Get the URI that corresponds to this grid resource.

Returns:
The resource's contact string. May be null if the resource may not be represented by a URI.

g-Eclipse
Release 1.0.0