Class DefinitionHelper
java.lang.Object
org.basepom.mojo.propertyhelper.definitions.DefinitionHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DateDefinition
dateDefinition
(String id) static NumberDefinition
static PropertyDefinition
propertyDefinition
(String name, String value) static PropertyGroupDefinition
static void
setBlankIsValid
(StringDefinition stringDefinition, boolean blankIsValid) static void
setFieldNumber
(NumberDefinition numberDefinition, int fieldNumber) static void
setFormat
(DateDefinition dateDefinition, String format) static void
setInitialValue
(FieldDefinition<?> fieldDefinition, String initialValue) static void
setOnMissingField
(PropertyGroupDefinition propertyGroupDefinition, String value) static void
setOnMissingFile
(FieldDefinition<?> fieldDefinition, String value) static void
setOnMissingFileProperty
(FieldDefinition<?> fieldDefinition, String value) static void
setOnMissingProperty
(FieldDefinition<?> fieldDefinition, String value) static void
setOnMissingValue
(StringDefinition stringDefinition, String onMissingValue) static void
setProperties
(PropertyGroupDefinition propertyGroupDefinition, PropertyDefinition... propertyDefinitions) static void
setPropertyFile
(FieldDefinition<?> fieldDefinition, File value) static void
setTimezone
(DateDefinition dateDefinition, String timezone) static void
setValue
(DateDefinition dateDefinition, Long value) static void
setValue
(UuidDefinition uuidDefinition, String value) static void
setValues
(StringDefinition stringDefinition, String... values) static StringDefinition
static UuidDefinition
uuidDefinition
(String id)
-
Constructor Details
-
DefinitionHelper
public DefinitionHelper()
-
-
Method Details
-
uuidDefinition
-
numberDefinition
-
dateDefinition
-
stringDefinition
-
propertyGroupDefinition
-
propertyDefinition
-
setOnMissingProperty
-
setOnMissingFileProperty
-
setOnMissingFile
-
setPropertyFile
-
setInitialValue
-
setValue
-
setValue
-
setTimezone
-
setFormat
-
setFieldNumber
-
setValues
-
setBlankIsValid
-
setOnMissingValue
-
setProperties
public static void setProperties(PropertyGroupDefinition propertyGroupDefinition, PropertyDefinition... propertyDefinitions) -
setOnMissingField
-