Interface AspectCallbackListener<T>


  • public interface AspectCallbackListener<T>
    • Method Detail

      • activateAspect

        void activateAspect​(T stepControlAspect)
        Activate the aspect.
        Parameters:
        stepControlAspect - the aspect
      • activateOppositeAspect

        void activateOppositeAspect​(T stepControlAspect)
        Activate the opposite aspect.
        Parameters:
        stepControlAspect - the aspect
      • discardChanges

        void discardChanges​(Callable<T> func)
                     throws Exception
        Discard pending changes.
        Parameters:
        func - the callback function
        Throws:
        Exception
      • verifyUniquePosition

        void verifyUniquePosition​(T originalAspect,
                                  Long position,
                                  Long positionOpposite)
        Verify that the postition is unique.
        Parameters:
        originalAspect - the aspect
        position - the position to verify
        positionOpposite - the opposite position to verify
      • getCurrentTurntablePosition

        Long getCurrentTurntablePosition()
        Returns:
        the current turntable position