public class ConfigPropertyDef extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN
Deprecated.
|
static int |
EXISTINGFILE
Deprecated.
|
static int |
EXISTINGPATH
Deprecated.
|
static int |
INTEGER
Deprecated.
|
static int |
JAVACLASS
Deprecated.
|
static int |
STRING
Deprecated.
|
static int |
URI
Deprecated.
|
static int |
URL
Deprecated.
|
Constructor and Description |
---|
ConfigPropertyDef(String name,
String displayName,
int type,
boolean required,
String defaultValue)
Deprecated.
Create a ConfigPropertyDef.
|
Modifier and Type | Method and Description |
---|---|
String |
check(ConfigCollection collection)
Deprecated.
Check if a property matches its definition.
|
String |
getDefaultValue()
Deprecated.
Get the default value of the property.
|
String |
getDisplayName()
Deprecated.
Get the display name of the configuration property.
|
String |
getName()
Deprecated.
Get the name of the configuration property.
|
int |
getType()
Deprecated.
Get the type of the configuration property.
|
boolean |
isRequired()
Deprecated.
Chreck if the configuration property is required.
|
public static final int STRING
public static final int INTEGER
public static final int EXISTINGPATH
public static final int EXISTINGFILE
public static final int JAVACLASS
public static final int URL
public static final int URI
public static final int BOOLEAN
public ConfigPropertyDef(String name, String displayName, int type, boolean required, String defaultValue)
name
- The name (relativ path) of the propertydisplayName
- The display name of the propertytype
- The type of the property. Valid Types are:
required
- true if the property is requireddefaultValue
- The default value of the property (null if none)public String getName()
public String getDisplayName()
public int getType()
public boolean isRequired()
public String getDefaultValue()
public String check(ConfigCollection collection)
collection
- The configuration collection to be checkedAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice