Class PermissionsAllowedMetaAnnotationBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.security.spi.PermissionsAllowedMetaAnnotationBuildItem

public final class PermissionsAllowedMetaAnnotationBuildItem extends io.quarkus.builder.item.SimpleBuildItem
Contains transitive PermissionsAllowed instances. The PermissionsAllowed annotation supports meta-annotation defined by users. Methods and classes annotated with these meta-annotations are collected and new AnnotationInstances are created for them. Newly created instances are carried in the transitiveInstances field.
  • Constructor Details

    • PermissionsAllowedMetaAnnotationBuildItem

      public PermissionsAllowedMetaAnnotationBuildItem(List<org.jboss.jandex.AnnotationInstance> transitiveInstances, List<org.jboss.jandex.DotName> metaAnnotationNames)
  • Method Details

    • hasPermissionsAllowed

      public boolean hasPermissionsAllowed(org.jboss.jandex.MethodInfo methodInfo)
    • hasPermissionsAllowed

      public boolean hasPermissionsAllowed(org.jboss.jandex.ClassInfo classInfo)
    • getTransitiveInstances

      public List<org.jboss.jandex.AnnotationInstance> getTransitiveInstances()
    • hasPermissionsAllowed

      public boolean hasPermissionsAllowed(List<org.jboss.jandex.AnnotationInstance> instances)
    • findPermissionsAllowedInstance

      public Optional<org.jboss.jandex.AnnotationInstance> findPermissionsAllowedInstance(org.jboss.jandex.ClassInfo classInfo)