public class CompleterData extends Object implements CompleterInvocation
Constructor and Description |
---|
CompleterData(AeshContext aeshContext,
String completeValue,
Command command) |
Modifier and Type | Method and Description |
---|---|
void |
addAllCompleterValues(Collection<String> completerValues) |
void |
addCompleterValue(String value) |
void |
addCompleterValueTerminalString(TerminalString value) |
void |
clearCompleterValues() |
boolean |
doIgnoreOffset() |
AeshContext |
getAeshContext() |
Command |
getCommand() |
List<TerminalString> |
getCompleterValues() |
String |
getGivenCompleteValue() |
int |
getOffset() |
boolean |
isAppendSpace() |
boolean |
isIgnoreStartsWith() |
void |
setAppendSpace(boolean appendSpace) |
void |
setCompleterValues(Collection<String> completerValues) |
void |
setCompleterValuesTerminalString(List<TerminalString> completerValues) |
void |
setIgnoreOffset(boolean ignoreOffset) |
void |
setIgnoreStartsWith(boolean ignoreStartsWith) |
void |
setOffset(int offset) |
public CompleterData(AeshContext aeshContext, String completeValue, Command command)
public String getGivenCompleteValue()
getGivenCompleteValue
in interface CompleterInvocation
public Command getCommand()
getCommand
in interface CompleterInvocation
public List<TerminalString> getCompleterValues()
getCompleterValues
in interface CompleterInvocation
public void setCompleterValues(Collection<String> completerValues)
setCompleterValues
in interface CompleterInvocation
public void setCompleterValuesTerminalString(List<TerminalString> completerValues)
setCompleterValuesTerminalString
in interface CompleterInvocation
public void clearCompleterValues()
clearCompleterValues
in interface CompleterInvocation
public void addAllCompleterValues(Collection<String> completerValues)
addAllCompleterValues
in interface CompleterInvocation
public void addCompleterValue(String value)
addCompleterValue
in interface CompleterInvocation
public void addCompleterValueTerminalString(TerminalString value)
addCompleterValueTerminalString
in interface CompleterInvocation
public boolean isAppendSpace()
isAppendSpace
in interface CompleterInvocation
public void setAppendSpace(boolean appendSpace)
setAppendSpace
in interface CompleterInvocation
public boolean doIgnoreOffset()
doIgnoreOffset
in interface CompleterInvocation
public void setIgnoreOffset(boolean ignoreOffset)
setIgnoreOffset
in interface CompleterInvocation
public void setOffset(int offset)
setOffset
in interface CompleterInvocation
public int getOffset()
getOffset
in interface CompleterInvocation
public void setIgnoreStartsWith(boolean ignoreStartsWith)
setIgnoreStartsWith
in interface CompleterInvocation
public boolean isIgnoreStartsWith()
isIgnoreStartsWith
in interface CompleterInvocation
public AeshContext getAeshContext()
getAeshContext
in interface CompleterInvocation
Copyright © 2024 JBoss by Red Hat. All rights reserved.