@Test public void testInitialization() { MInput<String> input1 = new MStringInput("sqoopsqoop1", true, InputEditable.ANY, StringUtils.EMPTY , (short) 5); MInput<String> input2 = new MStringInput("sqoopsqoop2", true, InputEditable.ANY, StringUtils.EMPTY , (short) 5); List<MInput<?>> list = new ArrayList<MInput<?>>(); list.add(input1); list.add(input2); MConfig mConfig = new MConfig("config", list); assertEquals("config", mConfig.getName()); assertEquals(2, mConfig.getInputs().size()); }
public List<MInput<?>> getInputs() { return inputs; }
MConfig extends MValidatedElement implements MClonable { public List<MInput<?>> getInputs() { return inputs; } }
MConfig extends MValidatedElement implements MClonable { public List<MInput<?>> getInputs() { return inputs; } MConfig(String name, List<MInput<?>> inputs); }
MConfig extends MValidatedElement implements MClonable { public List<MInput<?>> getInputs() { return inputs; } MConfig(String name, List<MInput<?>> inputs); List<MInput<?>> getInputs(); Set<String> getInputNames(); Set<String> getUserOnlyEditableInputNames(); MInput<?> getInput(String inputName); MStringInput getStringInput(String inputName); MEnumInput getEnumInput(String inputName); MIntegerInput getIntegerInput(String inputName); MLongInput getLongInput(String inputName); MBooleanInput getBooleanInput(String inputName); MMapInput getMapInput(String inputName); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode(); @Override MConfig clone(boolean cloneWithValue); }
MConfig extends MValidatedElement implements MClonable { public List<MInput<?>> getInputs() { return inputs; } MConfig(String name, List<MInput<?>> inputs); List<MInput<?>> getInputs(); Set<String> getInputNames(); Set<String> getUserOnlyEditableInputNames(); MInput<?> getInput(String inputName); MStringInput getStringInput(String inputName); MEnumInput getEnumInput(String inputName); MIntegerInput getIntegerInput(String inputName); MLongInput getLongInput(String inputName); MBooleanInput getBooleanInput(String inputName); MMapInput getMapInput(String inputName); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode(); @Override MConfig clone(boolean cloneWithValue);  }