public interface ClassContext extends Context
AnnotationHandler implementations working on a given class visit.| Modifier and Type | Method and Description |
|---|---|
ConfigurationBuilder |
getConfigurationBuilder()
Get the
ConfigurationBuilder shared by all class visits for the entire annotation configuration. |
Class<?> |
getJavaClass()
Get the Java class that is currently processed
|
RuleBuilder |
getRuleBuilder()
Get the
RuleBuilder for the current class visit. |
void |
setBaseRule(Rule rule)
Sets the basic rule that is built from the class.
|
clear, containsKey, get, putConfigurationBuilder getConfigurationBuilder()
ConfigurationBuilder shared by all class visits for the entire annotation configuration.RuleBuilder getRuleBuilder()
RuleBuilder for the current class visit. If no base rule has been set by calling
setBaseRule(Rule), the method will return a new RuleBuilder instance.void setBaseRule(Rule rule)
getRuleBuilder() will return
builder initialized with this rule.Class<?> getJavaClass()
Copyright © 2019 OCPsoft. All rights reserved.