Class HandlerWeights
java.lang.Object
org.ocpsoft.rewrite.annotation.handler.HandlerWeights
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSuggested weight for handlers which enrich the structure built by other handlers.static final intSuggested weight for handlers which build the basic structure of the rule. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WEIGHT_TYPE_STRUCTURAL
public static final int WEIGHT_TYPE_STRUCTURALSuggested weight for handlers which build the basic structure of the rule. This is for example the case for handlers that define the rule itself, add parameter bindings or operations.- See Also:
-
WEIGHT_TYPE_ENRICHING
public static final int WEIGHT_TYPE_ENRICHINGSuggested weight for handlers which enrich the structure built by other handlers. Typical examples are handles that add conditions to the rule or that add validation or conversion to parameter bindings.- See Also:
-
-
Constructor Details
-
HandlerWeights
public HandlerWeights()
-