|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.ncl.cs.instantsoap.commandlineprocessor.applicationSpec.Application
public class Application
A template, describing a command.
A template is a specification of a command-line. It includes a spec of the inputs and outputs, the command-line to fill out, and any relevant meta-data.
Constructor Summary | |
---|---|
Application()
Create a new application with inputs and outputs set to empty maps, and other properties set to null. |
|
Application(MetaData applicationMetaData,
CommandFormat commandFormat,
CommandLine<VariableExpression> commandLine,
Set<Input> inputs,
Set<Output> outputs)
Create a new application with all properties set to the given values. |
Method Summary | |
---|---|
void |
addInput(Input input)
Add a single input to the inputs. |
void |
addOutput(Output output)
Add an output to the outputs. |
boolean |
equals(Object o)
|
MetaData |
getApplicationMetaData()
Get the application meta-data. |
CommandFormat |
getCommandFormat()
Get the application command format. |
CommandLine<VariableExpression> |
getCommandLine()
Get the commandline pattern that must be filled out to execute this application. |
Set<Input> |
getInputs()
Get the inputs for this application. |
Set<Output> |
getOutputs()
Get the outputs for this application. |
int |
hashCode()
|
void |
removeInput(Input input)
Remove a single input from the inputs. |
void |
removeOutput(Output output)
Remove an output from the inputs. |
void |
setApplicationMetaData(MetaData applicationMetaData)
Set the application meta-data. |
void |
setCommandFormat(CommandFormat commandFormat)
Set the application command format. |
void |
setCommandLine(CommandLine<VariableExpression> commandLine)
Set the commandline pattern that must be filled out to execute this application. |
void |
setInputs(Set<Input> inputs)
Set the inputs of this application. |
void |
setOutputs(Set<Output> outputs)
Set the outputs fo this application. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Application()
public Application(MetaData applicationMetaData, CommandFormat commandFormat, CommandLine<VariableExpression> commandLine, Set<Input> inputs, Set<Output> outputs)
applicationMetaData
- the MetaData
describing the applicationcommandFormat
- the CommandFormat
for this applicationcommandLine
- the CommandLine
pattern for this applicationinputs
- a Set
of Input
structures describing
application inputsoutputs
- a Set
of Output
structures describing
application outputsMethod Detail |
---|
public MetaData getApplicationMetaData()
MetaData
public void setApplicationMetaData(MetaData applicationMetaData)
applicationMetaData
- the new application MetaData
public CommandFormat getCommandFormat()
CommandFormat
public void setCommandFormat(CommandFormat commandFormat)
commandFormat
- the CommandFormat
public CommandLine<VariableExpression> getCommandLine()
CommandLine
patternpublic void setCommandLine(CommandLine<VariableExpression> commandLine)
commandLine
- the new CommandLine
pattern to usepublic Set<Input> getInputs()
Set
containing all the Input
parameterspublic void setInputs(Set<Input> inputs)
the
- new Set
containing all the Input
parameterspublic void addInput(Input input)
input
- the Input
to addpublic void removeInput(Input input)
input
- the Input
to removepublic Set<Output> getOutputs()
Set
containing all the Output
resultspublic void setOutputs(Set<Output> outputs)
the
- new Set
containing all the Output
resultspublic void addOutput(Output output)
output
- the Output
to addpublic void removeOutput(Output output)
output
- the Output
to removepublic boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |