public LocalStrategy getInputLocalStrategy(int inputNum) {
   final int ls = this.config.getInteger(INPUT_LOCAL_STRATEGY_PREFIX + inputNum, -1);
   if (ls == -1) {
     return LocalStrategy.NONE;
   } else if (ls < 0 || ls >= LocalStrategy.values().length) {
     throw new CorruptConfigurationException("Illegal local strategy in configuration: " + ls);
   } else {
     return LocalStrategy.values()[ls];
   }
 }
 public void setInputLocalStrategy(int inputNum, LocalStrategy strategy) {
   this.config.setInteger(INPUT_LOCAL_STRATEGY_PREFIX + inputNum, strategy.ordinal());
 }