public interface Property
DefaultProperty provides a default implementation for this interface. It simply provides bean setters for
the required interface methods.| Modifier and Type | Field and Description |
|---|---|
static int |
PROPERTY_TYPE_DIRECTORY
Same as for
file. |
static int |
PROPERTY_TYPE_DYNAMIC_EMUNERATION
This type allows to provide a list with selectable values and the user has to choose exactly one of them.
|
static int |
PROPERTY_TYPE_DYNAMIC_EMUNERATION_MULTI
This type allows to provide a list with multiple selectable values and the user can choose some (or none) of them.
|
static java.lang.String |
PROPERTY_TYPE_DYNAMIC_EMUNERATION_MULTI_SEPARATOR |
static int |
PROPERTY_TYPE_FILE
This will be shown as text field.
|
static int |
PROPERTY_TYPE_NUMBER
This will be shown as text field.
|
static int |
PROPERTY_TYPE_PASSWORD
This will be shown as a password field.
|
static int |
PROPERTY_TYPE_STATIC_EMUNERATION
This type allows to provide a list with selectable values and the user has to choose exactly one of them.
|
static int |
PROPERTY_TYPE_STRING
This will be shown as text field.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultValue()
Get the default value for a property, if nothing is set yet.
|
Property[] |
getDependentProperties()
Get all dependent properties for this property.
|
java.lang.String |
getName()
Get the unique name of the property.
|
int |
getPropertyType()
Get the type of a property.
|
IdentifiedObject[] |
getValues()
This is only relevant if the
type is either PROPERTY_TYPE_STATIC_EMUNERATION
or PROPERTY_TYPE_DYNAMIC_EMUNERATION. |
static final int PROPERTY_TYPE_NUMBER
static final int PROPERTY_TYPE_STRING
static final int PROPERTY_TYPE_PASSWORD
strings as they are obfuscated in the GUI and encrypted
in the database. This happens transparently for the plug-in, so it doesn't need to care about en-/decryption.static final int PROPERTY_TYPE_FILE
static final int PROPERTY_TYPE_DIRECTORY
file.static final int PROPERTY_TYPE_STATIC_EMUNERATION
getValues() to provide the selectable values.static final int PROPERTY_TYPE_DYNAMIC_EMUNERATION
static final int PROPERTY_TYPE_DYNAMIC_EMUNERATION_MULTI
static final java.lang.String PROPERTY_TYPE_DYNAMIC_EMUNERATION_MULTI_SEPARATOR
java.lang.String getName()
java.lang.String getDefaultValue()
IdentifiedObject[] getValues() throws java.lang.Exception
type is either PROPERTY_TYPE_STATIC_EMUNERATION
or PROPERTY_TYPE_DYNAMIC_EMUNERATION.java.lang.ExceptionIdentifiedObjectint getPropertyType()
Property[] getDependentProperties()
EnhancedPropertyProvider interface.Copyright © Micro Focus 2004-2019. All rights reserved.