|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.xtcl.command.AbstractCommand
net.sf.tomp.xtcl.command.VarCommand
net.sf.tomp.xtcl.command.AbstractParametrizedVarCommand
public abstract class AbstractParametrizedVarCommand
The base for parametrized VarCommands.
Field Summary |
---|
Fields inherited from class net.sf.tomp.xtcl.command.VarCommand |
---|
var |
Constructor Summary | |
---|---|
AbstractParametrizedVarCommand()
|
Method Summary | |
---|---|
void |
addParameterPropertiesReference(java.lang.String ref)
Adds a reference to Properties that will be used as parameters. |
protected void |
propertiesToParameters(Context context)
Resolves all the properties found in the Set of propsReferences within the Context and sets it via setParameter(k, v). |
abstract void |
setParameter(java.lang.String k,
java.lang.Object v)
sets the parameter |
Methods inherited from class net.sf.tomp.xtcl.command.VarCommand |
---|
setVar |
Methods inherited from class net.sf.tomp.xtcl.command.AbstractCommand |
---|
done, execute, initParameters, listArray, listList, listMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractParametrizedVarCommand()
Method Detail |
---|
public void addParameterPropertiesReference(java.lang.String ref)
addParameterPropertiesReference
in interface ParametrizedCommand
public abstract void setParameter(java.lang.String k, java.lang.Object v)
Parametrized
setParameter
in interface Parametrized
k
- parameter namev
- parameter valueParametrized.setParameter(java.lang.String, java.lang.Object)
protected void propertiesToParameters(Context context) throws java.lang.Exception
context
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |