psdi.workflow

Class WorkflowPVStatus

  • java.lang.Object
    • psdi.workflow.WorkflowPVStatus
  • All Implemented Interfaces:
    ActionCustomClass


    public class WorkflowPVStatus
    extends java.lang.Object
    implements ActionCustomClass
    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.
    • Constructor Summary

      Constructors 
      Constructor and Description
      WorkflowPVStatus()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkflowPVStatus

        public WorkflowPVStatus()
        Constructor.
    • Method Detail

      • applyCustomAction

        public void applyCustomAction(MboRemote mbo,
                                      java.lang.Object[] params)
                               throws MXException,
                                      java.rmi.RemoteException
        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. The passed mbo must be based on StatefulMbo.
        Specified by:
        applyCustomAction in interface ActionCustomClass
        Parameters:
        mbo - The Mbo on which the action will apply.
        param - Parameters passed to the custom class.
        Throws:
        MXApplicationException - Thrown with ("workflow", "notStatefulMbo") when the mbo does not implement psdi.mbo.StatefulMboRemote
        MXApplicationException - Thrown with ("workflow", "WFPreventStatusChange") unless overridePVStatusException is true
        MXException
        java.rmi.RemoteException
        See Also:
        StatefulMboRemote.getOverridePVStatusException()