/** * * <!-- init --> * Initialise the action sequence * * @param firstAction first action in the sequence * @throws ScheduleException */ private void init(AbstractScheduledAction firstAction) throws ScheduleException { actionSequence = new LinkedList<AbstractScheduledAction>(); if (firstAction instanceof SequentialActionGroup) { actionSequence.addAll(((SequentialActionGroup) firstAction).actionSequence); } else { addAction(firstAction); } }