public class HostnameProperty extends java.lang.Object implements DriverProperty
| Constructor and Description |
|---|
HostnameProperty(java.lang.String hostname) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Object> |
getChoices() |
java.lang.Object |
getDefaultValue() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
java.lang.String |
getId() |
DriverPropertyType |
getType() |
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() |
public java.util.List<java.lang.Object> getChoices()
getChoices in interface DriverPropertypublic java.lang.Object getDefaultValue()
getDefaultValue in interface DriverPropertypublic java.lang.String getDescription()
getDescription in interface DriverPropertypublic java.lang.String getDisplayName()
getDisplayName in interface DriverPropertypublic java.lang.String getId()
getId in interface DriverPropertypublic DriverPropertyType getType()
getType in interface DriverPropertypublic java.lang.String getValidationType()
DriverPropertyCurrently available types: "regex" and "range"
getValidationType in interface DriverPropertypublic java.lang.String getValidationValue()
DriverPropertyIf you wanted to validate port ranges, for example, you might return "1-65535".
getValidationValue in interface DriverPropertypublic boolean isRequired()
isRequired in interface DriverProperty