|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.cea.CeaTask
public class CeaTask
Represents a task suitable for use in the CEA interface of STILTS. Corresponds, but perhaps not exactly, to a STILTS task.
Constructor Summary | |
---|---|
CeaTask(uk.ac.starlink.task.Task task,
String name)
Constructs a CeaTask. |
Method Summary | |
---|---|
String |
getName()
Returns public task name. |
CeaParameter |
getParameter(String name)
Returns a named parameter of this task. |
CeaParameter[] |
getParameters()
Returns a list of the parameters associated with this task for the purposes of CEA use. |
String |
getPurpose()
Returns task purpose. |
void |
removeParameter(String name)
Removes a named parameter from this task's parameter list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CeaTask(uk.ac.starlink.task.Task task, String name)
task
- ttools task objectname
- public name of the taskMethod Detail |
---|
public String getName()
public String getPurpose()
public void removeParameter(String name)
name
- name of the parameter to removepublic CeaParameter getParameter(String name)
name
- of the parameter
public CeaParameter[] getParameters()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |