public class WorkflowPVStatus extends java.lang.Object implements ActionCustomClass
Constructor and Description |
---|
WorkflowPVStatus()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
applyCustomAction(MboRemote mbo,
java.lang.Object[] params)
When this action is applied it will throw an MXApplicationException telling the user
that the Mbo is under workflow control and the status cannot be changed.
|
public void applyCustomAction(MboRemote mbo, java.lang.Object[] params) throws MXException, java.rmi.RemoteException
applyCustomAction
in interface ActionCustomClass
mbo
- The Mbo on which the action will apply.param
- Parameters passed to the custom class.MXApplicationException
- Thrown with ("workflow", "notStatefulMbo") when the mbo does not implement psdi.mbo.StatefulMboRemoteMXApplicationException
- Thrown with ("workflow", "WFPreventStatusChange") unless overridePVStatusException is trueMXException
java.rmi.RemoteException
StatefulMboRemote.getOverridePVStatusException()