Class StringDefinition
java.lang.Object
org.basepom.mojo.propertyhelper.definitions.FieldDefinition<String>
org.basepom.mojo.propertyhelper.definitions.StringDefinition
Defines a string field. This is a config element that is populated by maven.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateField
(FieldContext context, ValueCache valueCache) boolean
int
hashCode()
boolean
void
setOnMissingValue
(String onMissingValue) called by mavenvoid
called by maventoString()
Methods inherited from class org.basepom.mojo.propertyhelper.definitions.FieldDefinition
check, getId, getInitialValue, getOnMissingFile, getOnMissingFileProperty, getOnMissingProperty, getPostFormat, getPreFormat, getPropertyFile, getPropertyNameInFile, getRegexp, getTransformers, isExport, isSkip, setOnMissingFile, setOnMissingFileProperty, setOnMissingProperty, setRegexp, setTransformers
-
Constructor Details
-
StringDefinition
public StringDefinition()called by maven
-
-
Method Details
-
setValues
called by maven -
setOnMissingValue
called by maven -
getValues
-
isBlankIsValid
-
getOnMissingValue
-
createField
- Specified by:
createField
in classFieldDefinition<String>
- Throws:
IOException
-
toString
- Overrides:
toString
in classFieldDefinition<String>
-
equals
- Overrides:
equals
in classFieldDefinition<String>
-
hashCode
- Overrides:
hashCode
in classFieldDefinition<String>
-