mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-24 17:21:29 +01:00
Improve node suggest javadocs
This commit is contained in:
parent
4084cd4af1
commit
f2e193eda3
@ -11,9 +11,9 @@ import org.jetbrains.annotations.Nullable;
|
||||
@FunctionalInterface
|
||||
public interface NodeSuggester {
|
||||
/**
|
||||
* Suggests possible values for a node value.
|
||||
* Suggests possible values for a node value. Generated based on the current user input.
|
||||
*
|
||||
* @param input The current user input
|
||||
* @param input The current partial user input
|
||||
* @return The possible values.
|
||||
*/
|
||||
@NotNull Collection<String> suggest(@Nullable String input);
|
||||
|
@ -33,9 +33,9 @@ public interface ValueNode<T> extends Node {
|
||||
@Nullable T getDefaultValue();
|
||||
|
||||
/**
|
||||
* Suggests possible string values for this node.
|
||||
* Suggests possible string values for this node. Generated based on the current user input.
|
||||
*
|
||||
* @param input The input string.
|
||||
* @param input The current partial user input
|
||||
* @return A collection of possible string values.
|
||||
*/
|
||||
@NotNull Collection<String> suggest(@Nullable String input);
|
||||
|
Loading…
Reference in New Issue
Block a user