protected Object _execute(final UnscheduleTimeEvent timeEvent) { Object _xblockexpression = null; { TimeEvent _timeEvent = timeEvent.getTimeEvent(); String _name = _timeEvent.getName(); this.timingService.unscheduleTimeEvent(_name); _xblockexpression = (null); } return _xblockexpression; }
protected Object _addToScope(final TimeEvent event) { Object _xblockexpression = null; { String _name = event.getName(); ExecutionEvent _executionEvent = new ExecutionEvent(_name, java.lang.Long.class); this.executionContext.declareEvent(_executionEvent); _xblockexpression = (null); } return _xblockexpression; }
protected Object _execute(final ScheduleTimeEvent scheduleTimeEvent) throws ExecutionException { Object _xblockexpression = null; { TimeEvent _timeEvent = scheduleTimeEvent.getTimeEvent(); TimeEvent timeEvent = _timeEvent; Statement _timeValue = scheduleTimeEvent.getTimeValue(); Object _evaluateStatement = this.interpreter.evaluateStatement(_timeValue, this.executionContext); Object duration = _evaluateStatement; String _name = timeEvent.getName(); boolean _isPeriodic = timeEvent.isPeriodic(); this.timingService.scheduleTimeEvent( this.externalExecutionContext, _name, _isPeriodic, ((Integer) duration)); _xblockexpression = (null); } return _xblockexpression; }