Toggle navigation
Home
io.bootique.meta.config.ConfigObjectMetadata to io.bootique.meta.config.ConfigValueMetadata
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'bootique'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Update Anonymous class
{ @Override public String visitConfigMetadata( ConfigObjectMetadata metadata){ StringBuilder buffer=new StringBuilder(visitConfigPropertyMetadata(metadata)); metadata.getProperties().forEach(p -> buffer.append(":[").append(p.accept(this)).append("]")); return buffer.toString(); } @Override public String visitConfigPropertyMetadata( ConfigValueMetadata metadata){ return metadata.getName() + ":" + metadata.getType().getName()+ ":"+ metadata.getDescription(); } }
to
{ @Override public String visitConfigMetadata( ConfigObjectMetadata metadata){ StringBuilder buffer=new StringBuilder(visitConfigPropertyMetadata(metadata)); metadata.getProperties().forEach(p -> buffer.append(":[").append(p.accept(this)).append("]")); return buffer.toString(); } @Override public String visitConfigPropertyMetadata( ConfigValueMetadata metadata){ return metadata.getName() + ":" + metadata.getType().getTypeName()+ ":"+ metadata.getDescription(); } }