public interface DynamicTask
Modifier and Type | Method and Description |
---|---|
uk.ac.starlink.task.Parameter[] |
getContextParameters(uk.ac.starlink.task.Environment env)
Returns the parameters for this task in the context of a given
execution environment.
|
uk.ac.starlink.task.Parameter |
getParameterByName(uk.ac.starlink.task.Environment env,
java.lang.String paramName)
Attempts to find a parameter with a given name that might be used
by this task in the content of the given environment.
|
uk.ac.starlink.task.Parameter getParameterByName(uk.ac.starlink.task.Environment env, java.lang.String paramName) throws uk.ac.starlink.task.TaskException
This ought not to result in additional prompts to the user.
env
- execution environmentparamName
- requested parameter nameuk.ac.starlink.task.TaskException
uk.ac.starlink.task.Parameter[] getContextParameters(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
Task.getParameters()
, but found
settings of parameters in the presented environment may lead to
parameters being added to or removed from the list.
This ought not to result in additional prompts to the user.
env
- execution environmentuk.ac.starlink.task.TaskException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.