/** * Setup the temporary blocking time * * @param tempBlockTime * The temporary blocking time */ public void setTempBlockTime(String tempBlockTime) { setTempBlockTime(TimeConverter.getMilliSeconds(tempBlockTime)); }
/** * Setup the temporary blocking time * * @param tempBlockTime * The temporary blocking time */ public void setTempBlockTime(String tempBlockTime) { setTempBlockTime(TimeConverter.getMilliSeconds(tempBlockTime)); }
@Override public void init(Configuration handlerConfiguration) throws ConfigurationException { try { setTempBlockTime(handlerConfiguration.getString("tempBlockTime")); } catch (NumberFormatException e) { throw new ConfigurationException(e.getMessage());
setTempBlockTime(handlerConfiguration.getString("tempBlockTime")); } catch (NumberFormatException e) { throw new ConfigurationException(e.getMessage());