@Test public void testGetActualProperty() throws Exception { }
@Override public TextBlock getActualProperty(StaticPropertyConfigurationInternal definition, GroupProxy group, Property prop) throws Exception { TextBlock tb = new TextBlock(false, false); String propCanonName = group.getCanonicalName(prop); if (prop.getDefaultValue() != null) { tb.addLine( TextUtil.format("{} = {}", propCanonName, prop.getDefaultValue()) ); } else { tb.addLine( TextUtil.format("{} = [{}]", propCanonName, prop.getValueType().getDestinationType().getSimpleName()) ); } return tb; }
PropFileLoaderSamplePrinter extends BaseSamplePrinter implements SamplePrinter { @Override public TextBlock getActualProperty(StaticPropertyConfigurationInternal definition, GroupProxy group, Property prop) throws Exception { TextBlock tb = new TextBlock(false, false); String propCanonName = group.getCanonicalName(prop); if (prop.getDefaultValue() != null) { tb.addLine( TextUtil.format("{} = {}", propCanonName, prop.getDefaultValue()) ); } else { tb.addLine( TextUtil.format("{} = [{}]", propCanonName, prop.getValueType().getDestinationType().getSimpleName()) ); } return tb; } }
PropFileLoaderSamplePrinter extends BaseSamplePrinter implements SamplePrinter { @Override public TextBlock getActualProperty(StaticPropertyConfigurationInternal definition, GroupProxy group, Property prop) throws Exception { TextBlock tb = new TextBlock(false, false); String propCanonName = group.getCanonicalName(prop); if (prop.getDefaultValue() != null) { tb.addLine( TextUtil.format("{} = {}", propCanonName, prop.getDefaultValue()) ); } else { tb.addLine( TextUtil.format("{} = [{}]", propCanonName, prop.getValueType().getDestinationType().getSimpleName()) ); } return tb; } PropFileLoaderSamplePrinter(); }
PropFileLoaderSamplePrinter extends BaseSamplePrinter implements SamplePrinter { @Override public TextBlock getActualProperty(StaticPropertyConfigurationInternal definition, GroupProxy group, Property prop) throws Exception { TextBlock tb = new TextBlock(false, false); String propCanonName = group.getCanonicalName(prop); if (prop.getDefaultValue() != null) { tb.addLine( TextUtil.format("{} = {}", propCanonName, prop.getDefaultValue()) ); } else { tb.addLine( TextUtil.format("{} = [{}]", propCanonName, prop.getValueType().getDestinationType().getSimpleName()) ); } return tb; } PropFileLoaderSamplePrinter(); @Override PrintFormat getFormat(); @Override TextBlock getSampleFileStart(); @Override TextBlock getSampleStartComment(StaticPropertyConfigurationInternal definition); @Override String getInAliaseString(StaticPropertyConfigurationInternal definition, EffectiveName name); @Override TextBlock getActualProperty(StaticPropertyConfigurationInternal definition, 
			GroupProxy group, Property prop); @Override TextBlock getSampleFileEnd(); @Override String getSampleFileExtension(); }
PropFileLoaderSamplePrinter extends BaseSamplePrinter implements SamplePrinter { @Override public TextBlock getActualProperty(StaticPropertyConfigurationInternal definition, GroupProxy group, Property prop) throws Exception { TextBlock tb = new TextBlock(false, false); String propCanonName = group.getCanonicalName(prop); if (prop.getDefaultValue() != null) { tb.addLine( TextUtil.format("{} = {}", propCanonName, prop.getDefaultValue()) ); } else { tb.addLine( TextUtil.format("{} = [{}]", propCanonName, prop.getValueType().getDestinationType().getSimpleName()) ); } return tb; } PropFileLoaderSamplePrinter(); @Override PrintFormat getFormat(); @Override TextBlock getSampleFileStart(); @Override TextBlock getSampleStartComment(StaticPropertyConfigurationInternal definition); @Override String getInAliaseString(StaticPropertyConfigurationInternal definition, EffectiveName name); @Override TextBlock getActualProperty(StaticPropertyConfigurationInternal definition, 
			GroupProxy group, Property prop); @Override TextBlock getSampleFileEnd(); @Override String getSampleFileExtension();  }