if ("infinite".equals(parameter.getProperty("length", lengthDefault))) {
interpolatorProvider = new NullTime();
} else {
this.lengthParam = Long.parseLong(parameter.getProperty("length", "1000"));
if (Boolean.parseBoolean(parameter.getProperty("oneShot"))) {
interpolatorProvider = new OneTime();
}
}
// check for the given timeType to create the appropriate interpolator
if (interpolatorProvider == null) {