java.lang.Object | +--com.ibm.commerce.rule.Action
This class describes a rule action.
Nested Class Summary | |
---|---|
static class |
Action.Parameter This class describes action parameters. |
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright. |
Constructor Summary | |
---|---|
Action(java.lang.String name,
Action.Parameter[] parameters) This constructor takes a name and an array of parameters. |
Method Summary | |
---|---|
java.lang.String |
getName() Gets the name of the action. |
Action.Parameter[] |
getParameters() Gets the array of Parameter objects. |
void |
setName(java.lang.String name) Sets the name of the action. |
void |
setParameters(
Action.Parameter[] parameters) Sets the array of Parameter objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public Action(java.lang.String name, Action.Parameter[] parameters)
name
- The name of the action.parameters
- An array of Parameter objects.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the action.public Action.Parameter[] getParameters()
public void setParameters(Action.Parameter[] parameters)
parameters
- An array of parameter
objects.