public class FormValidationValue<T> extends Object
Modifier and Type | Method and Description |
---|---|
static <T> FormValidationValue<T> |
error(hudson.util.FormValidation formValidation) |
static <T> FormValidationValue<T> |
error(hudson.util.FormValidation formValidation,
T defaultValue) |
static <T> FormValidationValue<T> |
error(String s) |
static <T> FormValidationValue<T> |
error(String s,
T defaultValue) |
hudson.util.FormValidation |
getFormValidation() |
T |
getValue() |
boolean |
isOk() |
static <T> FormValidationValue<T> |
ok(T value) |
String |
toString() |
static FormValidationValue<Integer> |
validateNonNegativeInteger(String value,
int defaultValue) |
static FormValidationValue<Integer> |
validatePositiveInteger(String value,
int defaultValue) |
public static <T> FormValidationValue<T> ok(T value)
public static <T> FormValidationValue<T> error(String s)
public static <T> FormValidationValue<T> error(String s, T defaultValue)
public static <T> FormValidationValue<T> error(hudson.util.FormValidation formValidation)
public static <T> FormValidationValue<T> error(hudson.util.FormValidation formValidation, T defaultValue)
public static FormValidationValue<Integer> validatePositiveInteger(String value, int defaultValue)
public static FormValidationValue<Integer> validateNonNegativeInteger(String value, int defaultValue)
public hudson.util.FormValidation getFormValidation()
public boolean isOk()
public T getValue()
Copyright © 2016–2018. All rights reserved.