public abstract class PermittedCandidates extends Object implements DefaultCompleter.CandidatesProvider
Modifier and Type | Class and Description |
---|---|
static class |
PermittedCandidates.ValueWithAccessRequirement |
Constructor and Description |
---|
PermittedCandidates() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
add(PermittedCandidates.ValueWithAccessRequirement value) |
PermittedCandidates |
add(String value,
AccessRequirement requirement) |
static PermittedCandidates |
create(String value,
AccessRequirement requirement) |
Collection<String> |
getAllCandidates(CommandContext ctx) |
protected abstract List<PermittedCandidates.ValueWithAccessRequirement> |
getValues(CommandContext ctx) |
public static PermittedCandidates create(String value, AccessRequirement requirement)
protected abstract List<PermittedCandidates.ValueWithAccessRequirement> getValues(CommandContext ctx)
protected abstract void add(PermittedCandidates.ValueWithAccessRequirement value)
public PermittedCandidates add(String value, AccessRequirement requirement)
public Collection<String> getAllCandidates(CommandContext ctx)
getAllCandidates
in interface DefaultCompleter.CandidatesProvider
Copyright © 2023 JBoss by Red Hat. All rights reserved.