public class FieldStatusInf extends Object
| Modifier and Type | Method and Description |
|---|---|
static FieldStatusInf |
custom(String fieldName,
EventResultType status,
String message)
Creates a field status information object with the given status an the given messages for the given field.
|
static FieldStatusInf |
error(String fieldName)
Creates a field status information object with error status.
|
static FieldStatusInf |
error(String fieldName,
String message)
Creates a field status information object with error status.
|
String |
getFieldName()
The name of the field.
|
String |
getMessage()
Returns the message for this field.
|
EventResultType |
getStatus()
The status of this field.
|
static FieldStatusInf |
info(String fieldName)
Creates a field status information object with info status.
|
static FieldStatusInf |
info(String fieldName,
String message)
Creates a field status information object with info status.
|
static FieldStatusInf |
success(String fieldName)
Creates a field status information object with success status.
|
static FieldStatusInf |
success(String fieldName,
String message)
Creates a field status information object with success status.
|
static FieldStatusInf |
warn(String fieldName)
Creates a field status information object with warn status.
|
static FieldStatusInf |
warn(String fieldName,
String message)
Creates a field status information object with warn status.
|
public String getFieldName()
public EventResultType getStatus()
public String getMessage()
public static FieldStatusInf error(String fieldName)
fieldName - The name of the field.public static FieldStatusInf warn(String fieldName)
fieldName - The name of the field.public static FieldStatusInf success(String fieldName)
fieldName - The name of the field.public static FieldStatusInf info(String fieldName)
fieldName - The name of the field.public static FieldStatusInf error(String fieldName, String message)
fieldName - The name of the field.message - The message for the field.public static FieldStatusInf warn(String fieldName, String message)
fieldName - The name of the field.message - The message for the field.public static FieldStatusInf success(String fieldName, String message)
fieldName - The name of the field.message - The message for the field.public static FieldStatusInf info(String fieldName, String message)
fieldName - The name of the field.message - The message of the field.public static FieldStatusInf custom(String fieldName, EventResultType status, String message)
fieldName - The name of the field.status - The status of the field.message - The message of the field.Copyright © 2015–2017 Bridje Framework. All rights reserved.