Class ContextAwareCompleterInvocation

  • All Implemented Interfaces:
    org.aesh.command.completer.CompleterInvocation

    public class ContextAwareCompleterInvocation
    extends Object
    implements org.aesh.command.completer.CompleterInvocation
    Since:
    10.0
    Author:
    Tristan Tarrant <tristan@infinispan.org>
    • Field Detail

      • context

        protected final Context context
    • Constructor Detail

      • ContextAwareCompleterInvocation

        public ContextAwareCompleterInvocation​(org.aesh.command.completer.CompleterInvocation delegate,
                                               Context context)
    • Method Detail

      • getGivenCompleteValue

        public String getGivenCompleteValue()
        Specified by:
        getGivenCompleteValue in interface org.aesh.command.completer.CompleterInvocation
      • getCommand

        public org.aesh.command.Command getCommand()
        Specified by:
        getCommand in interface org.aesh.command.completer.CompleterInvocation
      • getCompleterValues

        public List<org.aesh.readline.terminal.formatting.TerminalString> getCompleterValues()
        Specified by:
        getCompleterValues in interface org.aesh.command.completer.CompleterInvocation
      • setCompleterValues

        public void setCompleterValues​(Collection<String> completerValues)
        Specified by:
        setCompleterValues in interface org.aesh.command.completer.CompleterInvocation
      • setCompleterValuesTerminalString

        public void setCompleterValuesTerminalString​(List<org.aesh.readline.terminal.formatting.TerminalString> completerValues)
        Specified by:
        setCompleterValuesTerminalString in interface org.aesh.command.completer.CompleterInvocation
      • clearCompleterValues

        public void clearCompleterValues()
        Specified by:
        clearCompleterValues in interface org.aesh.command.completer.CompleterInvocation
      • addAllCompleterValues

        public void addAllCompleterValues​(Collection<String> completerValues)
        Specified by:
        addAllCompleterValues in interface org.aesh.command.completer.CompleterInvocation
      • addCompleterValue

        public void addCompleterValue​(String value)
        Specified by:
        addCompleterValue in interface org.aesh.command.completer.CompleterInvocation
      • addCompleterValueTerminalString

        public void addCompleterValueTerminalString​(org.aesh.readline.terminal.formatting.TerminalString value)
        Specified by:
        addCompleterValueTerminalString in interface org.aesh.command.completer.CompleterInvocation
      • isAppendSpace

        public boolean isAppendSpace()
        Specified by:
        isAppendSpace in interface org.aesh.command.completer.CompleterInvocation
      • setAppendSpace

        public void setAppendSpace​(boolean appendSpace)
        Specified by:
        setAppendSpace in interface org.aesh.command.completer.CompleterInvocation
      • setIgnoreOffset

        public void setIgnoreOffset​(boolean ignoreOffset)
        Specified by:
        setIgnoreOffset in interface org.aesh.command.completer.CompleterInvocation
      • doIgnoreOffset

        public boolean doIgnoreOffset()
        Specified by:
        doIgnoreOffset in interface org.aesh.command.completer.CompleterInvocation
      • setOffset

        public void setOffset​(int offset)
        Specified by:
        setOffset in interface org.aesh.command.completer.CompleterInvocation
      • getOffset

        public int getOffset()
        Specified by:
        getOffset in interface org.aesh.command.completer.CompleterInvocation
      • setIgnoreStartsWith

        public void setIgnoreStartsWith​(boolean ignoreStartsWith)
        Specified by:
        setIgnoreStartsWith in interface org.aesh.command.completer.CompleterInvocation
      • isIgnoreStartsWith

        public boolean isIgnoreStartsWith()
        Specified by:
        isIgnoreStartsWith in interface org.aesh.command.completer.CompleterInvocation
      • getAeshContext

        public org.aesh.readline.AeshContext getAeshContext()
        Specified by:
        getAeshContext in interface org.aesh.command.completer.CompleterInvocation