public abstract class BaseAccessRequirement extends Object implements AccessRequirement, CliEventListener
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.logging.Logger |
log |
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() |
public boolean isSatisfied(CommandContext ctx)
isSatisfied in interface AccessRequirementpublic void cliEvent(CliEvent event, CommandContext ctx)
cliEvent in interface CliEventListenerprotected void resetState()
protected abstract boolean checkAccess(CommandContext ctx)
Copyright © 2018 JBoss by Red Hat. All rights reserved.