public final class CustomFormResponseImpl extends Object implements CustomFormResponse
| Constructor and Description |
|---|
CustomFormResponseImpl() |
| Modifier and Type | Method and Description |
|---|---|
static CustomFormResponseImpl |
closed() |
com.google.gson.JsonPrimitive |
get(int index) |
int |
getDropdown(int index) |
String |
getInput(int index) |
float |
getSlider(int index) |
int |
getStepSlide(int index) |
boolean |
getToggle(int index) |
boolean |
hasNext() |
void |
index(int index) |
static CustomFormResponseImpl |
invalid() |
<T> T |
next() |
<T> T |
next(boolean includeLabels) |
static CustomFormResponseImpl |
of(CustomFormImpl form,
String responseData) |
static CustomFormResponseImpl |
of(List<ComponentType> componentTypes,
com.google.gson.JsonArray responses) |
void |
skip() |
void |
skip(int amount) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentTypes, getResponsesisClosed, isCorrect, isInvalidpublic static CustomFormResponseImpl closed()
public static CustomFormResponseImpl invalid()
public static CustomFormResponseImpl of(CustomFormImpl form, String responseData)
public static CustomFormResponseImpl of(List<ComponentType> componentTypes, com.google.gson.JsonArray responses)
public <T> T next(boolean includeLabels)
next in interface CustomFormResponsepublic <T> T next()
next in interface CustomFormResponsepublic void skip(int amount)
skip in interface CustomFormResponsepublic void skip()
skip in interface CustomFormResponsepublic void index(int index)
index in interface CustomFormResponsepublic boolean hasNext()
hasNext in interface CustomFormResponsepublic com.google.gson.JsonPrimitive get(int index)
get in interface CustomFormResponsepublic int getDropdown(int index)
getDropdown in interface CustomFormResponsepublic String getInput(int index)
getInput in interface CustomFormResponsepublic float getSlider(int index)
getSlider in interface CustomFormResponsepublic int getStepSlide(int index)
getStepSlide in interface CustomFormResponsepublic boolean getToggle(int index)
getToggle in interface CustomFormResponseCopyright © 2020 GeyserMC. All rights reserved.