|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.ncl.cs.instantsoap.wsapi.JobSpecification
public class JobSpecification
Specifies an application to run and the input values to give it.
The properties must all have non-null values before the job spec can be used.
Constructor Summary | |
---|---|
JobSpecification()
Create a new instance with all properties set to null. |
|
JobSpecification(String application,
Map<String,String> inputs)
Create a new job specification, with the provided details. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getApplication()
Get the application name. |
Map<String,String> |
getInputs()
Get the inputs for this job spec. |
int |
hashCode()
|
void |
setApplication(String application)
Set the application name. |
void |
setInputs(Map<String,String> inputs)
Set the inputs for this job spec. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JobSpecification(String application, Map<String,String> inputs)
inputs
. After calling this
constructor, do not modify it.
application
- the String
name of the application
to launchinputs
- a Map
containing the input valuespublic JobSpecification()
Method Detail |
---|
public String getApplication()
public void setApplication(String application)
application
- the new application namepublic Map<String,String> getInputs()
Map
public void setInputs(Map<String,String> inputs)
inputs
- the Map
giving the job inputspublic 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 |