ponderEnforcement.ponderMC.actions
Class PmcAction
java.lang.Object
|
+--ponderEnforcement.ponderMC.actions.PmcAction
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- LogAction
- public abstract class PmcAction
- extends java.lang.Object
- implements java.io.Serializable
Function: An Action object that can be added to a Ponder Management
Component. This is an abstract class. It should be
overwritten by any action object that will be loaded into
the management component. The execute method should be
filled-in with the actions to take
- See Also:
- Serialized Form
|
Constructor Summary |
PmcAction(java.lang.String newName)
Constructor |
|
Method Summary |
abstract void |
execute(java.util.LinkedList params)
Executes the action. |
java.lang.String |
getName()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PmcAction
public PmcAction(java.lang.String newName)
- Constructor
- Parameters:
newName - The name of the new PmcAction
getName
public java.lang.String getName()
- Returns:
- The name of the action
execute
public abstract void execute(java.util.LinkedList params)
throws java.lang.Exception
- Executes the action. This method is to be overwritten
Throws a java.lang.Exception if the method fails to execute for
some reason
- Parameters:
params - An LinkedList of Object's (values).