public abstract class AbstractDriverProperty extends java.lang.Object implements DriverProperty
getPropertyIdentifier()
.
The following default values are provided (and overridable):
Constructor and Description |
---|
AbstractDriverProperty() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getBundlePrefix() |
java.util.List<java.lang.Object> |
getChoices() |
java.lang.String |
getDescription()
Retrieves the description from the properties file using the key returned by
getDescriptionKey() . |
protected java.lang.String |
getDescriptionKey() |
java.lang.String |
getDisplayName()
Retrieves the display name from the properties file using the key returned by
getDisplayNameKey() . |
protected java.lang.String |
getDisplayNameKey() |
protected java.lang.String |
getPropertyIdentifier() |
java.lang.String |
getValidationType()
Returns the type of validation, if any, to use on this property.
|
java.lang.String |
getValidationValue()
If a validation type was specified, this is the value to use for validation.
|
boolean |
isRequired() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultValue, getId, getType
public java.lang.String getDisplayName()
getDisplayNameKey()
.getDisplayName
in interface DriverProperty
protected java.lang.String getDisplayNameKey()
public java.lang.String getDescription()
getDescriptionKey()
.getDescription
in interface DriverProperty
protected java.lang.String getDescriptionKey()
public boolean isRequired()
isRequired
in interface DriverProperty
public java.lang.String getValidationType()
DriverProperty
getValidationType
in interface DriverProperty
public java.lang.String getValidationValue()
DriverProperty
getValidationValue
in interface DriverProperty
public java.util.List<java.lang.Object> getChoices()
getChoices
in interface DriverProperty
protected java.lang.String getPropertyIdentifier()
protected abstract java.lang.String getBundlePrefix()