public static @interface ResourcePattern.Access
Specifies the access mode to demand for the field. If the access mode is
required but not granted, the pattern will not be reported as a valid
pattern. If this annotation is not present, the access mode is considered
as "take framework default, required=false".
Defines the kind of access that is requested from the framework.
Whether this access mode is strictly required or optional is
configured with the required() parameter.
public abstract boolean required
Defines whether fulfillment of the access mode requirement in
mode() is required or not. If this is false, patterns can
report as matches to a request even when the required access mode has
not been granted. Otherwise, the reporting of a match is delayed
until the access mode is evnetually granted.