g-Eclipse
Release 1.0.0

eu.geclipse.core.model.impl
Class GridApplicationParameters

java.lang.Object
  extended by eu.geclipse.core.model.impl.GridApplicationParameters
All Implemented Interfaces:
IGridApplicationParameters

public class GridApplicationParameters
extends java.lang.Object
implements IGridApplicationParameters

Class representing data necessary to create extra pages for New Job Wizard.


Constructor Summary
GridApplicationParameters(java.lang.String appName, java.lang.String path, IPath xmlPath, IPath jsdlPath, IVirtualOrganization vo)
          Creates new ApplicationSpecific.
 
Method Summary
 java.lang.String getApplicationName()
          Method to access application name
 java.lang.String getApplicationPath()
          Method to access path to executable file of application
 int getId()
          Get unique id that distinguishes this object among other GridApplicationParameterss
 IPath getJsdlPath()
          Method to access path to basic JSDL
 IVirtualOrganization getVO()
           
 IPath getXmlPath()
          Path to user's local XML file in which specific wizard pages for application are defined
 void setApplicationName(java.lang.String applicationName)
          Method to set application name, for which the specific data is kept
 void setAppPath(java.lang.String appPath)
          Method to set path to application's executable file
 void setId(int id)
           
 void setJSDLPath(IPath newJsdlPath)
          Method to set basic JSDL path
 void setXmlPath(IPath xmlPath)
          Method to set path to XML file in which information of how should specific wizard pages look like is kept
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridApplicationParameters

public GridApplicationParameters(java.lang.String appName,
                                 java.lang.String path,
                                 IPath xmlPath,
                                 IPath jsdlPath,
                                 IVirtualOrganization vo)
Creates new ApplicationSpecific. This method does not serialize data - an object is created but will be destroyed when Eclipse is stopped.

Parameters:
id -
appName -
path -
xmlPath -
jsdlPath -
Method Detail

getJsdlPath

public IPath getJsdlPath()
Method to access path to basic JSDL

Specified by:
getJsdlPath in interface IGridApplicationParameters
Returns:
JSDL path

setJSDLPath

public void setJSDLPath(IPath newJsdlPath)
Method to set basic JSDL path

Parameters:
newJsdlPath - path to set

getApplicationName

public java.lang.String getApplicationName()
Method to access application name

Specified by:
getApplicationName in interface IGridApplicationParameters
Returns:
name of application for which specific data is kept

setApplicationName

public void setApplicationName(java.lang.String applicationName)
Method to set application name, for which the specific data is kept

Parameters:
applicationName - application name to set

getApplicationPath

public java.lang.String getApplicationPath()
Method to access path to executable file of application

Specified by:
getApplicationPath in interface IGridApplicationParameters
Returns:
path (local, usually absolute) in form of String to application's executable file (e.g. /bin/echo)

setAppPath

public void setAppPath(java.lang.String appPath)
Method to set path to application's executable file

Parameters:
appPath - path to application's executable file in form of String (e.g. /bin/echo)

getXmlPath

public IPath getXmlPath()
Path to user's local XML file in which specific wizard pages for application are defined

Specified by:
getXmlPath in interface IGridApplicationParameters
Returns:
path to XML file on user's machine. This file keep information of how should wizard specific pages look like for application

setXmlPath

public void setXmlPath(IPath xmlPath)
Method to set path to XML file in which information of how should specific wizard pages look like is kept

Parameters:
xmlPath - path to set

getId

public int getId()
Get unique id that distinguishes this object among other GridApplicationParameterss

Specified by:
getId in interface IGridApplicationParameters
Returns:
unique GridApplicationParameters's id

getVO

public IVirtualOrganization getVO()
Specified by:
getVO in interface IGridApplicationParameters

setId

public void setId(int id)
Specified by:
setId in interface IGridApplicationParameters

g-Eclipse
Release 1.0.0