Interface Completion<C extends CompleteOperation>

Type Parameters:
C - the type of complete operation this completion works with
All Known Implementing Classes:
AliasCompletion
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Completion<C extends CompleteOperation>
To enable auto completion, commands need to implement this interface.
Author:
Ståle W. Pedersen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    complete(C completeOperation)
    Populate the CompleteOperation object with possible completions + offset if needed
  • Method Details

    • complete

      void complete(C completeOperation)
      Populate the CompleteOperation object with possible completions + offset if needed
      Parameters:
      completeOperation - operation