@Test public void testInvalidConfigNameAttributeLength() { try { ConfigUtils.toConfigs(ConfigurationWithInvalidConfigNameAttributeLength.class); } catch (SqoopException ex) { AssertJUnit.assertEquals(ModelError.MODEL_014, ex.getErrorCode()); return; } Assert.fail("Correct exception wasn't thrown"); }
public static List<MConfig> toConfigs(Object configuration) { return toConfigs(configuration.getClass(), configuration); }
ConfigUtils { public static List<MConfig> toConfigs(Object configuration) { return toConfigs(configuration.getClass(), configuration); } }
ConfigUtils { public static List<MConfig> toConfigs(Object configuration) { return toConfigs(configuration.getClass(), configuration); }  }
ConfigUtils { public static List<MConfig> toConfigs(Object configuration) { return toConfigs(configuration.getClass(), configuration); }  static List<MConfig> toConfigs(Object configuration); static List<MConfig> toConfigs(Class<?> klass); static List<MConfig> toConfigs(Class<?> klass, Object configuration); static ConfigValidationResult validateConfigs(List<MConfig> configs, Class configClass); static Object fromConfigs(List<MConfig> configs, Class configClass); @SuppressWarnings("unchecked") static void fromConfigs(List<MConfig> configs, Object configuration); static void applyValidation(List<MConfig> configs, ConfigValidationResult result); static void applyValidation(MValidatedElement element, ConfigValidationResult result); @SuppressWarnings("unchecked") static String toJson(Object configuration); @SuppressWarnings("unchecked") static void fillValues(String json, Object configuration); static String getName(Field input, Input annotation); static String getName(Field config, Config annotation); static ConfigurationClass getConfigurationClassAnnotation(Object object, boolean strict); static ConfigClass getConfigClassAnnotation(Object object, boolean strict); static Config getConfigAnnotation(Field field, boolean strict); static Input getInputAnnotation(Field field, boolean strict); static Object getFieldValue(Field field, Object object); static void validateInputOverridesAttribute(MInput<?> currentInput, MConfig config); }
ConfigUtils { public static List<MConfig> toConfigs(Object configuration) { return toConfigs(configuration.getClass(), configuration); }  static List<MConfig> toConfigs(Object configuration); static List<MConfig> toConfigs(Class<?> klass); static List<MConfig> toConfigs(Class<?> klass, Object configuration); static ConfigValidationResult validateConfigs(List<MConfig> configs, Class configClass); static Object fromConfigs(List<MConfig> configs, Class configClass); @SuppressWarnings("unchecked") static void fromConfigs(List<MConfig> configs, Object configuration); static void applyValidation(List<MConfig> configs, ConfigValidationResult result); static void applyValidation(MValidatedElement element, ConfigValidationResult result); @SuppressWarnings("unchecked") static String toJson(Object configuration); @SuppressWarnings("unchecked") static void fillValues(String json, Object configuration); static String getName(Field input, Input annotation); static String getName(Field config, Config annotation); static ConfigurationClass getConfigurationClassAnnotation(Object object, boolean strict); static ConfigClass getConfigClassAnnotation(Object object, boolean strict); static Config getConfigAnnotation(Field field, boolean strict); static Input getInputAnnotation(Field field, boolean strict); static Object getFieldValue(Field field, Object object); static void validateInputOverridesAttribute(MInput<?> currentInput, MConfig config);  }