Interface TransitionSpecOrGroup

    • Method Detail

      • getGroup

        TransitionSpecGroup getGroup()
                              throws java.rmi.RemoteException
        Returns a TransitionSpecGroup if the object is a child object or null if the object is directly contained by the Transition.
        Returns:
        The parent group or null.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • isGroup

        boolean isGroup()
                 throws java.rmi.RemoteException
        Returns true if this is a TransitionSpecGroup, false otherwise.
        Returns:
        true if this is a TransitionSpecGroup, false otherwise.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getTransition

        Transition getTransition()
                          throws java.rmi.RemoteException
        Returns the Transition object which directly or indirectly contains this TransitionSpecOrGroup.
        Returns:
        The parent Transition
        Throws:
        java.rmi.RemoteException - remote communication problem
      • move

        void move​(TransitionSpecGroup newParent,
                  int index)
           throws ApiException,
                  java.rmi.RemoteException
        Moves this TransitionSpecOrGroup to a new position in the transition spec tree.
        Parameters:
        newParent - the new parent TransitionSpecGroup or null to move it to top level.
        index - the new position under the new parent.
        Throws:
        ApiException - If the new parent is invalid.
        java.rmi.RemoteException - remote communication problem