public class ActionResult<T>
extends java.lang.Object
Constructor and Description |
---|
ActionResult(EnumActionResult typeIn,
T resultIn) |
Modifier and Type | Method and Description |
---|---|
T |
getResult() |
EnumActionResult |
getType() |
static <T> ActionResult<T> |
newResult(EnumActionResult result,
T value) |
public ActionResult(EnumActionResult typeIn, T resultIn)
public EnumActionResult getType()
public T getResult()
public static <T> ActionResult<T> newResult(EnumActionResult result, T value)