g-Eclipse
Release 1.0.0

eu.geclipse.info.model
Class GridApplication

java.lang.Object
  extended by PlatformObject
      extended by eu.geclipse.core.model.impl.AbstractGridElement
          extended by eu.geclipse.info.model.GridGlueElement
              extended by eu.geclipse.info.model.GridApplication
All Implemented Interfaces:
IGridApplication, IGridElement, IGridResource

public class GridApplication
extends GridGlueElement
implements IGridApplication


Constructor Summary
GridApplication(IGridContainer parent, GlueLocation software)
           
 
Method Summary
 void addComputing(IGridComputing myComputing)
          Add a computing resource
 IGridApplicationParameters getApplicationParameters()
           
 IGridComputing[] getComputing()
          The computings on which this application is installed.
 java.lang.String getHostName()
          Get the host name of the machine (physical or virtual) that represent this resource.
 java.net.URI getScript()
          get the tag of the installed application must return a URI which represents the script this script is given by the user in the uninstall wizard on the info system
 java.lang.String getTag()
          get the tag of the installed application must return a string which represents the tag this tag is given by the deployer in the process of install and is published on the info system
 java.net.URI getURI()
          Get the URI that corresponds to this grid resource.
 void setScript(java.net.URI script)
          set the script to the deployed application this method is called by the uninstall wizard, so that the script can be delivered to the uninstall method
 
Methods inherited from class eu.geclipse.info.model.GridGlueElement
getFileStore, getGlueElement, getName, getParent, getPath, getResource, isLocal
 
Methods inherited from class eu.geclipse.core.model.impl.AbstractGridElement
dispose, getAdapter, getProject, isHidden, isVirtual
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.geclipse.core.model.IGridElement
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual
 

Constructor Detail

GridApplication

public GridApplication(IGridContainer parent,
                       GlueLocation software)
Parameters:
parent - an IGridContainer
software - a GlueLocation that describes the software
Method Detail

addComputing

public void addComputing(IGridComputing myComputing)
Add a computing resource

Parameters:
computing - an IGridComputing where this application is installed

getComputing

public IGridComputing[] getComputing()
Description copied from interface: IGridApplication
The computings on which this application is installed.

Specified by:
getComputing in interface IGridApplication
Returns:
The IGridComputings.

getScript

public java.net.URI getScript()
Description copied from interface: IGridApplication
get the tag of the installed application must return a URI which represents the script this script is given by the user in the uninstall wizard on the info system

Specified by:
getScript in interface IGridApplication
Returns:
URI

getTag

public java.lang.String getTag()
Description copied from interface: IGridApplication
get the tag of the installed application must return a string which represents the tag this tag is given by the deployer in the process of install and is published on the info system

Specified by:
getTag in interface IGridApplication
Returns:
String

setScript

public void setScript(java.net.URI script)
Description copied from interface: IGridApplication
set the script to the deployed application this method is called by the uninstall wizard, so that the script can be delivered to the uninstall method

Specified by:
setScript in interface IGridApplication

getHostName

public java.lang.String getHostName()
Description copied from interface: IGridResource
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.

Specified by:
getHostName in interface IGridResource
Returns:
Returns the hostname of the machine, may be null if the resource cannot provide its hostname.

getURI

public java.net.URI getURI()
Description copied from interface: IGridResource
Get the URI that corresponds to this grid resource.

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

getApplicationParameters

public IGridApplicationParameters getApplicationParameters()
Specified by:
getApplicationParameters in interface IGridApplication

g-Eclipse
Release 1.0.0