public class MetadataCollector extends Object
ConfigurationMetadataAnnotationProcessor
to collect
ConfigurationMetadata
.Constructor and Description |
---|
MetadataCollector(ProcessingEnvironment processingEnvironment,
ConfigurationMetadata previousMetadata)
Creates a new
MetadataProcessor instance. |
Modifier and Type | Method and Description |
---|---|
void |
add(ItemMetadata metadata) |
ConfigurationMetadata |
getMetadata() |
boolean |
hasSimilarGroup(ItemMetadata metadata) |
void |
processing(RoundEnvironment roundEnv) |
public MetadataCollector(ProcessingEnvironment processingEnvironment, ConfigurationMetadata previousMetadata)
MetadataProcessor
instance.processingEnvironment
- the processing environment of the buildpreviousMetadata
- any previous metadata or null
public void processing(RoundEnvironment roundEnv)
public void add(ItemMetadata metadata)
public boolean hasSimilarGroup(ItemMetadata metadata)
public ConfigurationMetadata getMetadata()