Class QuestionAnswerTypeHostAndPort
- java.lang.Object
-
- de.dytanic.cloudnet.console.animation.questionlist.answer.QuestionAnswerTypeValidHostAndPort
-
- de.dytanic.cloudnet.console.animation.questionlist.answer.QuestionAnswerTypeHostAndPort
-
- All Implemented Interfaces:
QuestionAnswerType<de.dytanic.cloudnet.driver.network.HostAndPort>
public class QuestionAnswerTypeHostAndPort extends QuestionAnswerTypeValidHostAndPort
-
-
Field Summary
-
Fields inherited from class de.dytanic.cloudnet.console.animation.questionlist.answer.QuestionAnswerTypeValidHostAndPort
requiresPort
-
-
Constructor Summary
Constructors Constructor Description QuestionAnswerTypeHostAndPort()QuestionAnswerTypeHostAndPort(boolean requiresPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable de.dytanic.cloudnet.driver.network.HostAndPortparse(@NotNull java.lang.String input)-
Methods inherited from class de.dytanic.cloudnet.console.animation.questionlist.answer.QuestionAnswerTypeValidHostAndPort
getPossibleAnswers, isValidInput
-
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, getInvalidInputMessage, getPossibleAnswersAsString, getRecommendation
-
-
-
-
Method Detail
-
parse
@Nullable public @Nullable de.dytanic.cloudnet.driver.network.HostAndPort parse(@NotNull @NotNull java.lang.String input)- Specified by:
parsein interfaceQuestionAnswerType<de.dytanic.cloudnet.driver.network.HostAndPort>- Overrides:
parsein classQuestionAnswerTypeValidHostAndPort
-
-