Class Completers.CompletionData

java.lang.Object
org.jline.builtins.Completers.CompletionData
Enclosing class:
Completers

public static class Completers.CompletionData extends Object
Holds data for command completion.

This class stores information about command options, descriptions, arguments, and conditions used for command completion.

  • Field Details

    • options

      public final List<String> options
      The list of command options
    • description

      public final String description
      The description of the command or option
    • argument

      public final String argument
      The argument specification for completion
    • condition

      public final String condition
      The condition that must be satisfied for this completion to be applicable
  • Constructor Details

    • CompletionData

      public CompletionData(List<String> options, String description, String argument, String condition)
      Creates a new CompletionData instance.
      Parameters:
      options - the list of command options
      description - the description of the command or option
      argument - the argument specification for completion
      condition - the condition that must be satisfied for this completion to be applicable