java.lang.Object
com.pervasive.datarush.io.configuration.ConfigurationField
com.pervasive.datarush.io.configuration.TextField
A
ConfigurationField that consists of clear text information.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the fieldCreates a new field, equivalent to this, but with the value set to the specified value.Methods inherited from class com.pervasive.datarush.io.configuration.ConfigurationField
getFieldName
-
Constructor Details
-
TextField
Creates a new field with an empty value- Parameters:
fieldName- the name of the field- Throws:
IllegalArgumentException- if fieldName is null or empty
-
TextField
Create a new field with the specified value- Parameters:
fieldName- the unique identifier for this fieldfieldValue- the field value- Throws:
IllegalArgumentException- if fieldName is null or empty or if fieldValue is null (fieldValue may be empty though)
-
-
Method Details
-
getFieldValue
Returns the value of the field- Returns:
- the value of the field
-
withValue
Creates a new field, equivalent to this, but with the value set to the specified value.- Parameters:
fieldValue- the new value- Returns:
- a new field with its settings modified
- Throws:
IllegalArgumentException- if value is null (may be empty though)
-