public class StringTestProperty extends TestProperty
TestPropertyType#STRING test propertiesTestProperty.TestPropertyType| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_MASK |
static int |
DEFAULT_MAX |
static int |
DEFAULT_MIN |
static String |
DEFAULT_REGEX |
static String |
DEFAULT_VALUE |
static String |
PROP_HTML5 |
static String |
PROP_MASK |
static String |
PROP_MAX |
static String |
PROP_MIN |
static String |
PROP_REGEX |
PROP_CHOICE_COLLECTION, PROP_DEFAULT, PROP_DESCRIPTION, PROP_GROUP, PROP_HIDE, PROP_NAME, PROP_TITLE, PROP_TYPE, PROP_VALIDATION| Constructor and Description |
|---|
StringTestProperty(String name,
Properties properties)
Build a 'string' property using the given values.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProperties(Properties properties)
Derived instances must override this and attach additional, type-specific properties
|
int |
getMax() |
int |
getMin() |
String |
getRegex() |
TestProperty.TestPropertyType |
getType() |
static Set<String> |
getValueNames() |
boolean |
isMask() |
addError, addError, compareTo, equals, getChoices, getDefault, getDescription, getErrors, getGroup, getName, getTitle, getValidation, hashCode, isHide, toProperties, toStringpublic static final String PROP_MIN
public static final String PROP_MAX
public static final String PROP_HTML5
public static final String PROP_REGEX
public static final String PROP_MASK
public static final String DEFAULT_VALUE
public static final int DEFAULT_MIN
public static final int DEFAULT_MAX
public static final String DEFAULT_REGEX
public static final boolean DEFAULT_MASK
public StringTestProperty(String name, Properties properties)
public TestProperty.TestPropertyType getType()
getType in class TestPropertyTestPropertyType#STRING alwaysprotected void addProperties(Properties properties)
TestPropertyaddProperties in class TestPropertypublic int getMin()
public int getMax()
public String getRegex()
public boolean isMask()
isMask in class TestPropertyCopyright © 2005–2018 Alfresco Software. All rights reserved.