| Package | Description |
|---|---|
| org.carrot2.util.attribute.constraint |
| Modifier and Type | Class and Description |
|---|---|
interface |
DoubleRange
Requires that the double attribute value is between
DoubleRange.min() (inclusively) and
DoubleRange.max() (inclusively). |
interface |
ImplementingClasses
Requires that instances bound to the attribute are of one of the provided
ImplementingClasses.classes(). |
interface |
IntModulo
Requires that the integer attribute value meets the condition:
attributeValue % == IntModulo.offset(). |
interface |
IntRange
Requires that the integer attribute value is between
IntRange.min() (inclusively) and
IntRange.max() (inclusively). |
interface |
IsDirectory
Requires that the File object is a directory.
|
interface |
IsFile
Requires that the provided object is an instance of
File and the path denoted
by it is actually a file. |
interface |
NotBlank
Requires that the
CharSequence value is not blank, i.e. |
interface |
PassesValueOf
Requires that instances bound to the attribute are a valid result of the
attribute's class static valueOf method.
|
interface |
ValueHintEnum
A set of values for an attribute of type
String. |
Copyright © 2013 Carrot2.org. All Rights Reserved.