eu.larkc.core.pluginManager.remote.GAT
Class GatResourceDescription

java.lang.Object
  extended by eu.larkc.core.pluginManager.remote.GAT.GatResourceDescription
All Implemented Interfaces:
Resource

public class GatResourceDescription
extends java.lang.Object
implements Resource

The class represents remote resource's properties for the remote execution with GAT

Author:
Alexey Cheptsov

Field Summary
 java.lang.String Broker
           
 java.lang.String FileAdaptor
           
 java.lang.String JavaArgs
           
 java.lang.String JavaDir
           
 java.lang.String LarKCDir
           
 int NumMPIProcesses
          Deprecated. 
 java.lang.String URI
           
 java.lang.String WorkDir
           
 
Constructor Summary
GatResourceDescription()
          Empty constructor
GatResourceDescription(java.lang.String URI, java.lang.String FileAdaptor, java.lang.String Broker, java.lang.String LarKCDir, java.lang.String WorkDir, java.lang.String JavaDir, java.lang.String JavaArgs)
          Constructor of the class for a standard application.
GatResourceDescription(java.lang.String URI, java.lang.String FileAdaptor, java.lang.String Broker, java.lang.String LarKCDir, java.lang.String WorkDir, java.lang.String JavaDir, java.lang.String JavaArgs, int NumMPIProcesses)
          Constructor of the class for an MPI parallel application.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI

public java.lang.String URI

FileAdaptor

public java.lang.String FileAdaptor

Broker

public java.lang.String Broker

LarKCDir

public java.lang.String LarKCDir

WorkDir

public java.lang.String WorkDir

JavaDir

public java.lang.String JavaDir

JavaArgs

public java.lang.String JavaArgs

NumMPIProcesses

@Deprecated
public int NumMPIProcesses
Deprecated. 
Constructor Detail

GatResourceDescription

public GatResourceDescription()
Empty constructor


GatResourceDescription

public GatResourceDescription(java.lang.String URI,
                              java.lang.String FileAdaptor,
                              java.lang.String Broker,
                              java.lang.String LarKCDir,
                              java.lang.String WorkDir,
                              java.lang.String JavaDir,
                              java.lang.String JavaArgs)
Constructor of the class for a standard application.

Parameters:
URI - A string with resource's URI in the GAT notation, e.g. "any://localhost"
FileAdaptor - A string with FileAdaptor's name, e.g. "local"
BrokerAdaptor - A string with Broker's name, e.g. "local"
LarKCDir - A string with the path to the directory containing a LarKC platform's installation, e.g. "/home/user/LarKC"
WorkDir - A string with the path to the working directory, i.e. where the output will be created etc., e.g. "/home/user/tmp"
JavaDir - A string with the path to the Java installation, e.g. "/usr/bin"
JavaArgs - A string containing JVM arguments, e.g. "-Xmx1024M"

GatResourceDescription

public GatResourceDescription(java.lang.String URI,
                              java.lang.String FileAdaptor,
                              java.lang.String Broker,
                              java.lang.String LarKCDir,
                              java.lang.String WorkDir,
                              java.lang.String JavaDir,
                              java.lang.String JavaArgs,
                              int NumMPIProcesses)
Constructor of the class for an MPI parallel application.

Parameters:
URI - A string with resource's URI in the GAT notation, e.g. "any://localhost"
FileAdaptor - A string with FileAdaptor's name, e.g. "local"
BrokerAdaptor - A string with Broker's name, e.g. "local"
LarKCDir - A string with the path to the directory containing a LarKC platform's installation, e.g. "/home/user/LarKC"
WorkDir - A string with the path to the working directory, i.e. where the output will be created etc., e.g. "/home/user/tmp"
JavaDir - A string with the path to the Java installation, e.g. "/usr/bin"
JavaArgs - A string containing JVM arguments, e.g. "-Xmx1024M"
NumMPIProcesses - Number of requested CPU nodes