|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.farrago.plugin.FarragoPluginInfoList
public class FarragoPluginInfoList
FarragoPluginInfoList is a helper class for building up the arrays of DriverPropertyInfo returned by various getXXXPropertyInfo calls.
| Field Summary | |
|---|---|
private Properties |
defaultProps
|
private List<DriverPropertyInfo> |
propertyInfoList
|
| Constructor Summary | |
|---|---|
FarragoPluginInfoList(Properties defaultProps)
Creates an empty info set. |
|
| Method Summary | |
|---|---|
DriverPropertyInfo |
addOptionalPropertyInfo(String propertyName,
String defaultValue,
String description)
Adds optional property information. |
DriverPropertyInfo |
addRequiredPropertyInfo(String propertyName,
String defaultValue,
String description)
Adds required property information. |
DriverPropertyInfo[] |
toArray()
Converts the list built up with addXXXPropertyInfo to an array suitable for return from a getXXXPropertyInfo call. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Properties defaultProps
private List<DriverPropertyInfo> propertyInfoList
| Constructor Detail |
|---|
public FarragoPluginInfoList(Properties defaultProps)
defaultProps - Properties in which to look up default values| Method Detail |
|---|
public DriverPropertyInfo addOptionalPropertyInfo(String propertyName,
String defaultValue,
String description)
propertyName - name of the propertydefaultValue - String representation of default value to use if
property name not present in defaultPropsdescription - localized description
public DriverPropertyInfo addRequiredPropertyInfo(String propertyName,
String defaultValue,
String description)
propertyName - name of the propertydefaultValue - String representation of default value to use if
property name not present in defaultPropsdescription - localized description
public DriverPropertyInfo[] toArray()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||