Package io.quarkus.security.spi
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 Summary
ConstructorsConstructorDescriptionPermissionsAllowedMetaAnnotationBuildItem(List<org.jboss.jandex.AnnotationInstance> transitiveInstances, List<org.jboss.jandex.DotName> metaAnnotationNames) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.jboss.jandex.AnnotationInstance> findPermissionsAllowedInstance(org.jboss.jandex.ClassInfo classInfo) List<org.jboss.jandex.AnnotationInstance> booleanhasPermissionsAllowed(List<org.jboss.jandex.AnnotationInstance> instances) booleanhasPermissionsAllowed(org.jboss.jandex.ClassInfo classInfo) booleanhasPermissionsAllowed(org.jboss.jandex.MethodInfo methodInfo)
-
Constructor Details
-
PermissionsAllowedMetaAnnotationBuildItem
-
-
Method Details
-
hasPermissionsAllowed
public boolean hasPermissionsAllowed(org.jboss.jandex.MethodInfo methodInfo) -
hasPermissionsAllowed
public boolean hasPermissionsAllowed(org.jboss.jandex.ClassInfo classInfo) -
getTransitiveInstances
-
hasPermissionsAllowed
-
findPermissionsAllowedInstance
public Optional<org.jboss.jandex.AnnotationInstance> findPermissionsAllowedInstance(org.jboss.jandex.ClassInfo classInfo)
-