public class ExclusionRegistry extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
excludeBehaviorOrMixin(String elementTag,
String behaviorName)
Excludes a behavior or mixin from being evaluated for a specific element
denoted by its tag.
|
static void |
excludeEvent(String elementTag,
String eventName)
Excludes an event from being generated for a specific element denoted by
its tag.
|
static void |
excludeInterface(String elementTag,
Class<?> interfaceClass)
Excludes an interface from being evaluated for a specific element denoted
by its tag.
|
static void |
excludeMethod(String elementTag,
String methodName)
Excludes a method from being generated for a specific element denoted by
its tag.
|
static void |
excludeProperty(String elementTag,
String propertyName)
Excludes a property from being generated for a specific element denoted
by its tag.
|
static void |
excludePropertyType(ComponentBasicType type)
Excludes all the properties that have the given type from all the
components.
|
static void |
excludeTag(String elementTag)
Excludes the element generation denoted by its tag.
|
static boolean |
isBehaviorOrMixinExcluded(String elementTag,
String behaviorName)
Gets whether a behavior or mixin should be excluded or not from the
generation.
|
static boolean |
isEventExcluded(String elementTag,
String eventName)
Gets whether an event should be excluded or not from the generation.
|
static boolean |
isInterfaceExcluded(String elementTag,
Class<?> interfaceClass)
Gets whether an interface should be excluded or not from the generation.
|
static boolean |
isMethodExcluded(String elementTag,
String methodName)
Gets whether a method should be excluded or not from the generation.
|
static boolean |
isPropertyExcluded(String elementTag,
String propertyName,
Set<ComponentBasicType> type)
Gets whether a property should be excluded or not from the generation.
|
static boolean |
isTagExcluded(String elementTag)
Gets whether an Element should be excluded or not from the generation.
|
public static void excludeTag(String elementTag)
elementTag - the tag of the element, which is going to be skipped
generation.public static void excludePropertyType(ComponentBasicType type)
type - the property type to excludepublic static boolean isTagExcluded(String elementTag)
elementTag - the tag of the elementtrue if the element should be excluded,
false otherwisepublic static void excludeProperty(String elementTag, String propertyName)
elementTag - the tag of the element which the property should be excluded
from generation. Setting null makes the exclusion
apply to all elementspropertyName - the name of the property to be excludedpublic static void excludeEvent(String elementTag, String eventName)
elementTag - the tag of the element which the event should be excluded from
generation. Setting null makes the exclusion
apply to all elementseventName - the name of the event to be excludedpublic static void excludeMethod(String elementTag, String methodName)
elementTag - the tag of the element which the method should be excluded
from generation. Setting null makes the exclusion
apply to all elementsmethodName - the name of the method to be excludedpublic static void excludeBehaviorOrMixin(String elementTag, String behaviorName)
elementTag - the tag of the element which the behavior should be excluded
from generation. Setting null makes the exclusion
apply to all elementsbehaviorName - the name of the behavior or mixin to be excludedpublic static void excludeInterface(String elementTag, Class<?> interfaceClass)
elementTag - the tag of the element which the interface should be excluded
from generation. Setting null makes the exclusion
apply to all elementsinterfaceClass - the class of the Interface to be excludedpublic static boolean isPropertyExcluded(String elementTag, String propertyName, Set<ComponentBasicType> type)
elementTag - the tag of the elementpropertyName - the name of the propertytype - the type of the propertytrue if the property should be excluded,
false otherwisepublic static boolean isEventExcluded(String elementTag, String eventName)
elementTag - the tag of the elementeventName - the name of the eventtrue if the event should be excluded,
false otherwisepublic static boolean isMethodExcluded(String elementTag, String methodName)
elementTag - the tag of the elementmethodName - the name of the methodtrue if the method should be excluded,
false otherwisepublic static boolean isBehaviorOrMixinExcluded(String elementTag, String behaviorName)
elementTag - the tag of the elementbehaviorName - the name of the behavior or mixintrue if the behavior should be excluded,
false otherwisepublic static boolean isInterfaceExcluded(String elementTag, Class<?> interfaceClass)
elementTag - the tag of the elementinterfaceClass - the class of the interfacetrue if the interface should be excluded,
false otherwiseCopyright © 2000–2019 Vaadin Ltd. All rights reserved.