Package us.ajg0702.queue.api.spigot
Class MessagedResponse<T>
java.lang.Object
us.ajg0702.queue.api.spigot.MessagedResponse<T>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MessagedResponse
-
-
Method Details
-
getResponse
Gets the response from the method.- Returns:
- The response. Null if there is a "none" message
-
getNone
Gets the "none" message- Returns:
- The none message. null if there is a response.
-
getEither
Gets either the response (as a string) or the none message, whichever is available- Returns:
- A string
-