public class MetaRulesetImpl extends MetaRuleset
| Constructor and Description |
|---|
MetaRulesetImpl(Tag tag,
Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
MetaRuleset |
add(Metadata mapper)
Add another |
MetaRuleset |
addRule(MetaRule rule)
Add another |
MetaRuleset |
alias(String attribute,
String property)
Customize this |
Metadata |
finish()
Take actions to apply the rule. |
protected MetadataTarget |
getMetadataTarget() |
MetaRuleset |
ignore(String attribute)
Customize this |
MetaRuleset |
ignoreAll()
Customize this |
public MetaRuleset ignore(String attribute)
MetaRuleset
Customize this MetaRuleset instance to advise it to ignore the attribute named by the
attribute argument, returning this.
ignore in class MetaRulesetattribute - the name of the attribute to ignore.public MetaRuleset alias(String attribute, String property)
MetaRuleset
Customize this MetaRuleset by removing the attribute named by argument attribute and
re-adding it under the name given by the argument property, returning this.
alias in class MetaRulesetattribute - the attribute to remove.property - the property to add.public MetaRuleset add(Metadata mapper)
MetaRuleset
Add another Metadata to this ruleset, returning this.
add in class MetaRulesetmapper - the Metadata to add.MetaRuleset with the Metadata added.public MetaRuleset addRule(MetaRule rule)
MetaRuleset
Add another MetaRule to this ruleset, returning this.
addRule in class MetaRulesetrule - the rule to add.MetaRuleset with the MetaRule added.public Metadata finish()
MetaRulesetTake actions to apply the rule.
finish in class MetaRulesetpublic MetaRuleset ignoreAll()
MetaRuleset
Customize this MetaRuleset instance to advise it to ignore all attributes, returning this.
ignoreAll in class MetaRulesetMetaRuleset.protected MetadataTarget getMetadataTarget()
Copyright © 1997–2020 Eclipse Foundation. All rights reserved.