Class QuestionAnswerTypeUUID
- java.lang.Object
-
- de.dytanic.cloudnet.console.animation.questionlist.answer.QuestionAnswerTypeUUID
-
- All Implemented Interfaces:
QuestionAnswerType<java.util.UUID>
public class QuestionAnswerTypeUUID extends java.lang.Object implements QuestionAnswerType<java.util.UUID>
-
-
Constructor Summary
Constructors Constructor Description QuestionAnswerTypeUUID()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetInvalidInputMessage(@NotNull java.lang.String input)java.util.Collection<java.lang.String>getPossibleAnswers()booleanisValidInput(@NotNull java.lang.String input)@NotNull java.util.UUIDparse(@NotNull java.lang.String input)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.dytanic.cloudnet.console.animation.questionlist.QuestionAnswerType
getCompletableAnswers, getPossibleAnswersAsString, getRecommendation
-
-
-
-
Method Detail
-
isValidInput
public boolean isValidInput(@NotNull @NotNull java.lang.String input)- Specified by:
isValidInputin interfaceQuestionAnswerType<java.util.UUID>
-
parse
@NotNull public @NotNull java.util.UUID parse(@NotNull @NotNull java.lang.String input)- Specified by:
parsein interfaceQuestionAnswerType<java.util.UUID>
-
getPossibleAnswers
public java.util.Collection<java.lang.String> getPossibleAnswers()
- Specified by:
getPossibleAnswersin interfaceQuestionAnswerType<java.util.UUID>- Returns:
- null if there are infinite possible numbers
-
getInvalidInputMessage
public java.lang.String getInvalidInputMessage(@NotNull @NotNull java.lang.String input)- Specified by:
getInvalidInputMessagein interfaceQuestionAnswerType<java.util.UUID>
-
-