Class Activities


  • public class Activities
    extends java.lang.Object
    Convenience utility methods that operate on elements from Activities.
    • Constructor Detail

      • Activities

        public Activities()
    • Method Detail

      • isAcceptTimeEventAction

        public static boolean isAcceptTimeEventAction​(AcceptEventAction acceptEventAction)
      • getEventForAction

        @CheckForNull
        public static Event getEventForAction​(AcceptEventAction action)
        Returns an event of given action. Event is taken from trigger.
        Parameters:
        action - the given action
        Returns:
        an event of given action
      • getSignalForAction

        @CheckForNull
        public static Signal getSignalForAction​(AcceptEventAction action)
        Returns a signal of given action. Signal is taken from trigger signal event.
        Parameters:
        action - the given action
        Returns:
        a signal of given action
      • getSignalEventForAction

        @CheckForNull
        public static SignalEvent getSignalEventForAction​(AcceptEventAction action)
        Returns a signal event of given action. Signal Event is taken from trigger.
        Parameters:
        action - the given action
        Returns:
        a signal event of given action
      • getTargetPin

        @CheckForNull
        public static InputPin getTargetPin​(InvocationAction invocationAction)
        Returns target pin of InvocationAction type elements that can have target
        Parameters:
        invocationAction - action to get the target pin from
        Returns:
        target pin of the action