public abstract class Validator<T> extends Object
Modifier and Type | Field and Description |
---|---|
static Validator<Boolean> |
BOOLEAN |
static Validator<String> |
EXISTING_FILE |
static Validator<Integer> |
INTEGER |
static Validator<Integer> |
INTEGER_ALLOW_MINUS_1 |
static Validator<Integer> |
INTEGER_POSITIVE |
static Validator<Integer> |
INTEGER_POSITIVE_OR_ZERO |
static Validator<Long> |
LONG |
static Validator<Long> |
LONG_ALLOW_MINUS_1 |
static Validator<Long> |
LONG_POSITIVE |
static Validator<Long> |
LONG_POSITIVE_OR_ZERO |
static Validator<String> |
NON_EMTPY_STRING |
static Validator<Integer> |
PORT |
static Validator<String> |
TRIMMED_STRING |
Constructor and Description |
---|
Validator() |
public abstract T apply(String label, String input) throws ValidationException
ValidationException
Copyright © 2002-2016 Atlassian. All Rights Reserved.