Class PmCompleterInvocation

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

    public class PmCompleterInvocation
    extends java.lang.Object
    implements org.aesh.command.completer.CompleterInvocation
    Author:
    jdenise@redhat.com
    • Constructor Detail

      • PmCompleterInvocation

        public PmCompleterInvocation​(org.aesh.command.completer.CompleterInvocation delegate,
                                     PmSession session)
    • Method Detail

      • getGivenCompleteValue

        public java.lang.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 java.util.List<org.aesh.readline.terminal.formatting.TerminalString> getCompleterValues()
        Specified by:
        getCompleterValues in interface org.aesh.command.completer.CompleterInvocation
      • setCompleterValuesTerminalString

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

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

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

        public void addCompleterValueTerminalString​(org.aesh.readline.terminal.formatting.TerminalString terminalString)
        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 b)
        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
      • getPmSession

        public PmSession getPmSession()
      • setCompleterValues

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

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