com.ibm.commerce.rule
Class Action
java.lang.Object
|
+--com.ibm.commerce.rule.Action
- public final class Action
- extends java.lang.Object
This class describes a rule action.
Inner 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
Action
public Action(java.lang.String name,
Action.Parameter[] parameters)
- This constructor takes a name and an array of parameters.
- Parameters:
name
- The name of the action.parameters
- An array of Parameter objects.
getName
public java.lang.String getName()
- Gets the name of the action.
- Returns:
- The name of the action.
getParameters
public Action.Parameter[] getParameters()
- Gets the array of Parameter objects.
- Returns:
- The array of Parameter objects.
setName
public void setName(java.lang.String name)
- Sets the name of the action.
- Parameters:
name
- The name of the action.
setParameters
public void setParameters(Action.Parameter[] parameters)
- Sets the array of Parameter objects.
- Parameters:
parameters
- An array of parameter objects.