class CheckpointFibonacciRepeatStrategy extends CheckpointRepeatStrategy {

    @Override
    public void init(final ISchedulerEntry entry, final IObject args) throws SchedulingStrategyExecutionException {
        try {
            Duration interval = Duration.parse((String) args.getValue(baseIntervalFieldName));
            entry.getState().setValue(baseIntervalFieldName, interval.toString());

            entry.getState().setValue(number1FieldName, 0);
            entry.getState().setValue(number2FieldName, 1);
        } catch (ReadValueException | ChangeValueException | InvalidArgumentException e) {
            throw new SchedulingStrategyExecutionException("Error occurred initializing scheduling strategy.", e);
        }

        super.init(entry, args);
    }

    public  CheckpointFibonacciRepeatStrategy();

}