Class AnnotatedType

java.lang.Object
org.wildfly.glow.AnnotatedType

public class AnnotatedType extends Object
Contains the content of the rule that identify layers based on an annotated type.
Author:
jdenise
  • Constructor Details

    • AnnotatedType

      public AnnotatedType(String type, String annotation, Map<String,String> fields, Layer layer)
      Parameters:
      type - The java type
      annotation - The annotation applied to the type
      fields - Annotation field values (can be empty).
      layer - The layer associated to the rule.
  • Method Details

    • getAnnotation

      public String getAnnotation()
      Returns:
      The annotation full class name.
    • getFields

      public Map<String,String> getFields()
      Returns:
      The annotation fields.
    • getLayer

      public Layer getLayer()
      Returns:
      The layer
    • getType

      public String getType()
      Returns:
      The java type.