public class ValidateFieldResult<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
T |
clean |
Set<NewGTFSError> |
errors |
| Constructor and Description |
|---|
ValidateFieldResult() |
ValidateFieldResult(T defaultValue)
Constructor used to set a default value (which may then be updated with the clean value).
|
| Modifier and Type | Method and Description |
|---|---|
static ValidateFieldResult<String> |
from(ValidateFieldResult result)
Builder method that constructs a ValidateFieldResult with type String from the input result.
|
public T clean
public Set<NewGTFSError> errors
public ValidateFieldResult()
public ValidateFieldResult(T defaultValue)
public static ValidateFieldResult<String> from(ValidateFieldResult result)
Copyright © 2019. All rights reserved.