@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface RequiresCapability
com.google.gerrit.sshd.SshCommand
or com.google.gerrit.httpd.restapi.RestApiServlet
declaring a capability must be granted.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Name of the capability required to invoke this action.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
fallBackToAdmin
Fall back to admin credentials.
|
CapabilityScope |
scope
Scope of the named capability.
|
public abstract java.lang.String value
public abstract CapabilityScope scope