GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

resources::SoftwareDescription Class Reference

Inheritance diagram for resources::SoftwareDescription:

Inheritance graph
[legend]
Collaboration diagram for resources::SoftwareDescription:

Collaboration graph
[legend]
List of all members.

Public Methods

 SoftwareDescription (Map attributes)
boolean equals (Object o)
 Tests this GATSoftwareDescription for equality with the passed GATObject.


Private Attributes

URI location
String[] arguments
Map environment
File stdin
File stdout
File stderr
File[] preStaged
File[] postStaged
Map attributes

Detailed Description

Author:
rob
An instance of this class is a description of a piece of software (component) which is to be submitted as a job. It currently takes a table describing this piece of software's attributes to any underlying job submission system.

The GAT-API defines a minimum set of supported name/value pairs to be included in the Map used to construct a SoftwareDescription instance, as listed in table below.

Name Type Description location Location Software location arguments array of Strings Software arguments. environment Map Software environment, names/values are Strings. stdin File Stdin from which the component reads. stdout File Stdout to which the component writes. stderr File Stderr to which the component writes. pre-staged files array of Files Files which should be staged to the resource before the component is invoked. post-staged files array of Files Files which should be staged from the resource after the component is finished.

Definition at line 43 of file SoftwareDescription.java.


Constructor & Destructor Documentation

resources::SoftwareDescription::SoftwareDescription Map    attributes [inline]
 

Definition at line 54 of file SoftwareDescription.java.

References resources::SoftwareDescription::arguments, resources::SoftwareDescription::attributes, resources::SoftwareDescription::environment, resources::SoftwareDescription::location, resources::SoftwareDescription::postStaged, resources::SoftwareDescription::preStaged, resources::SoftwareDescription::stderr, resources::SoftwareDescription::stdin, and resources::SoftwareDescription::stdout.


Member Function Documentation

boolean resources::SoftwareDescription::equals Object    o [inline]
 

Tests this GATSoftwareDescription for equality with the passed GATObject.

GATSoftwareDescription are equal if they have equivalent entries in the description table.

See also:
java.lang.Objectequals(java.lang.Object)

Definition at line 72 of file SoftwareDescription.java.

References resources::SoftwareDescription::attributes.


Member Data Documentation

URI resources::SoftwareDescription::location [private]
 

Definition at line 44 of file SoftwareDescription.java.

Referenced by resources::SoftwareDescription::SoftwareDescription().

String [] resources::SoftwareDescription::arguments [private]
 

Definition at line 45 of file SoftwareDescription.java.

Referenced by resources::SoftwareDescription::SoftwareDescription().

Map resources::SoftwareDescription::environment [private]
 

Definition at line 46 of file SoftwareDescription.java.

Referenced by resources::SoftwareDescription::SoftwareDescription().

File resources::SoftwareDescription::stdin [private]
 

Definition at line 47 of file SoftwareDescription.java.

Referenced by resources::SoftwareDescription::SoftwareDescription().

File resources::SoftwareDescription::stdout [private]
 

Definition at line 48 of file SoftwareDescription.java.

Referenced by resources::SoftwareDescription::SoftwareDescription().

File resources::SoftwareDescription::stderr [private]
 

Definition at line 49 of file SoftwareDescription.java.

Referenced by resources::SoftwareDescription::SoftwareDescription().

File [] resources::SoftwareDescription::preStaged [private]
 

Definition at line 50 of file SoftwareDescription.java.

Referenced by resources::SoftwareDescription::SoftwareDescription().

File [] resources::SoftwareDescription::postStaged [private]
 

Definition at line 51 of file SoftwareDescription.java.

Referenced by resources::SoftwareDescription::SoftwareDescription().

Map resources::SoftwareDescription::attributes [private]
 

Definition at line 52 of file SoftwareDescription.java.

Referenced by resources::SoftwareDescription::equals(), and resources::SoftwareDescription::SoftwareDescription().


The documentation for this class was generated from the following file: