com.dynatrace.diagnostics.pdk
Interface Property


public interface Property

A single configuration property of a Plugin. This is only used for property migration, see also Migrator.


Field Summary
static java.lang.String PROPERTY_TYPE_BOOLEAN
          A boolean value compatible with java.lang.Boolean
static java.lang.String PROPERTY_TYPE_DATE
          The date in miliseconds, compatible with java.lang.Long
static java.lang.String PROPERTY_TYPE_DOUBLE
          A value compatible with java.lang.Double
static java.lang.String PROPERTY_TYPE_LIST
          A string value which has to be part of the list option as defined in plugin.xml
static java.lang.String PROPERTY_TYPE_LONG
          A value compatible with java.lang.Long
static java.lang.String PROPERTY_TYPE_PASSWORD
          A string value, will be encrypted during persistence.
static java.lang.String PROPERTY_TYPE_STRING
          A string value
static java.lang.String PROPERTY_TYPE_URL
          A value compatible with java.net.URL
 
Method Summary
 java.lang.String getKey()
          The unique key (per PropertyContainer of this property.
 java.lang.String getType()
          The type of the contained value.
 java.lang.String getValue()
          The value as a string.
 void setValue(java.lang.String value)
          Sets the value of this property.
 

Field Detail

PROPERTY_TYPE_BOOLEAN

static final java.lang.String PROPERTY_TYPE_BOOLEAN
A boolean value compatible with java.lang.Boolean

See Also:
Constant Field Values

PROPERTY_TYPE_DATE

static final java.lang.String PROPERTY_TYPE_DATE
The date in miliseconds, compatible with java.lang.Long

See Also:
Constant Field Values

PROPERTY_TYPE_DOUBLE

static final java.lang.String PROPERTY_TYPE_DOUBLE
A value compatible with java.lang.Double

See Also:
Constant Field Values

PROPERTY_TYPE_LONG

static final java.lang.String PROPERTY_TYPE_LONG
A value compatible with java.lang.Long

See Also:
Constant Field Values

PROPERTY_TYPE_PASSWORD

static final java.lang.String PROPERTY_TYPE_PASSWORD
A string value, will be encrypted during persistence.

See Also:
Constant Field Values

PROPERTY_TYPE_STRING

static final java.lang.String PROPERTY_TYPE_STRING
A string value

See Also:
Constant Field Values

PROPERTY_TYPE_URL

static final java.lang.String PROPERTY_TYPE_URL
A value compatible with java.net.URL

See Also:
Constant Field Values

PROPERTY_TYPE_LIST

static final java.lang.String PROPERTY_TYPE_LIST
A string value which has to be part of the list option as defined in plugin.xml

See Also:
Constant Field Values
Method Detail

getKey

java.lang.String getKey()
The unique key (per PropertyContainer of this property.


getValue

java.lang.String getValue()
The value as a string.


getType

java.lang.String getType()
The type of the contained value.


setValue

void setValue(java.lang.String value)
Sets the value of this property. The supplied value has to be convertible to the currently set type. The Type is not immediately checked but invalid values will be discarded during migration.



Copyright © 2004-2012 dynaTrace software GmbH