Class AggregateCompleter

  • All Implemented Interfaces:
    Completer

    public class AggregateCompleter
    extends Object
    implements Completer
    Completer which contains multiple completers and aggregates them together.
    Since:
    2.3
    Author:
    Jason Dillon
    • Constructor Detail

      • AggregateCompleter

        public AggregateCompleter​(Completer... completers)
        Construct an AggregateCompleter with the given completers. The completers will be used in the order given.
        Parameters:
        completers - the completers
      • AggregateCompleter

        public AggregateCompleter​(Collection<Completer> completers)
        Construct an AggregateCompleter with the given completers. The completers will be used in the order given.
        Parameters:
        completers - the completers
    • Method Detail

      • getCompleters

        public Collection<Completer> getCompleters()
        Retrieve the collection of completers currently being aggregated.
        Returns:
        the aggregated completers
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        a string representing the aggregated completers