/** * * @param value * @return <code>true</code> if the given value corresponds to the type of the default value, <code>false</code> otherwise */ public boolean isValidValue(Object value) { return isValidValueType(value.getClass()); }
/** * * @param value * @return <code>true</code> if the given value corresponds to the type of the default value, <code>false</code> otherwise */ public boolean isValidValue(Object value) { return isValidValueType(value.getClass()); }
/** * * @param value * @return <code>true</code> if the given value corresponds to the type of the default value, <code>false</code> otherwise */ public boolean isValidValue(Object value) { return isValidValueType(value.getClass()); }
/** * * @param value * @return <code>true</code> if the given value corresponds to the type of the default value, <code>false</code> otherwise */ public boolean isValidValue(Object value) { return isValidValueType(value.getClass()); }
/** * * @param value * @return <code>true</code> if the given value corresponds to the type of the default value, <code>false</code> otherwise */ public boolean isValidValue(Object value) { return isValidValueType(value.getClass()); }
/** * * @param value * @return <code>true</code> if the given value corresponds to the type of the default value, <code>false</code> otherwise */ public boolean isValidValue(Object value) { return isValidValueType(value.getClass()); }
/** * * @param key * @param requiredType * @throws IllegalStateException If the configuration property type does not match the required type */ static void checkRequiredType(ConfigurationKey key, Class<?> requiredType) { if (!key.isValidValueType(requiredType)) { throw ConfigurationLogger.LOG.configurationPropertyTypeMismatch(key.getDefaultValue().getClass(), requiredType, key.get()); } }
/** * * @param key * @param requiredType * @throws IllegalStateException If the configuration property type does not match the required type */ static void checkRequiredType(ConfigurationKey key, Class<?> requiredType) { if (!key.isValidValueType(requiredType)) { throw ConfigurationLogger.LOG.configurationPropertyTypeMismatch(key.getDefaultValue().getClass(), requiredType, key.get()); } }
/** * * @param key * @param requiredType * @throws IllegalStateException If the configuration property type does not match the required type */ static void checkRequiredType(ConfigurationKey key, Class<?> requiredType) { if (!key.isValidValueType(requiredType)) { throw ConfigurationLogger.LOG.configurationPropertyTypeMismatch(key.getDefaultValue().getClass(), requiredType, key.get()); } }
/** * * @param key * @param requiredType * @throws IllegalStateException If the configuration property type does not match the required type */ static void checkRequiredType(ConfigurationKey key, Class<?> requiredType) { if (!key.isValidValueType(requiredType)) { throw ConfigurationLogger.LOG.configurationPropertyTypeMismatch(key.getDefaultValue().getClass(), requiredType, key.get()); } }
/** * * @param key * @param requiredType * @throws IllegalStateException If the configuration property type does not match the required type */ static void checkRequiredType(ConfigurationKey key, Class<?> requiredType) { if (!key.isValidValueType(requiredType)) { throw ConfigurationLogger.LOG.configurationPropertyTypeMismatch(key.getDefaultValue().getClass(), requiredType, key.get()); } }
/** * * @param key * @param requiredType * @throws IllegalStateException If the configuration property type does not match the required type */ static void checkRequiredType(ConfigurationKey key, Class<?> requiredType) { if (!key.isValidValueType(requiredType)) { throw ConfigurationLogger.LOG.configurationPropertyTypeMismatch(key.getDefaultValue().getClass(), requiredType, key.get()); } }