public abstract class BaseAccessRequirement extends Object implements AccessRequirement, CliEventListener
Modifier and Type | Field and Description |
---|---|
protected org.jboss.logging.Logger |
log |
protected boolean |
traceEnabled |
NONE
Constructor and Description |
---|
BaseAccessRequirement() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
checkAccess(CommandContext ctx) |
void |
cliEvent(CliEvent event,
CommandContext ctx) |
boolean |
isSatisfied(CommandContext ctx) |
protected void |
resetState() |
protected org.jboss.logging.Logger log
protected final boolean traceEnabled
public boolean isSatisfied(CommandContext ctx)
isSatisfied
in interface AccessRequirement
public void cliEvent(CliEvent event, CommandContext ctx)
cliEvent
in interface CliEventListener
protected void resetState()
protected abstract boolean checkAccess(CommandContext ctx)
Copyright © 2023 JBoss by Red Hat. All rights reserved.