public abstract class Result<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
collectExceptionMessage(List<String> messageList) |
List<ParseException> |
exceptionList() |
T |
get() |
T |
getUnchecked() |
static <T> Result<T> |
invalid(T pojo,
List<ParseException> exceptionList) |
abstract boolean |
valid() |
static <T> Result<T> |
valid(T pojo) |
public Result(T value)
public static <T> Result<T> valid(T pojo)
public static <T> Result<T> invalid(T pojo, List<ParseException> exceptionList)
public List<ParseException> exceptionList()
public T get()
public T getUnchecked()
public abstract boolean valid()
Copyright © 2015 Objectos Software LTDA. All rights reserved.