|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.springsource.bundlor.ant.internal.support.PropertySetPropertiesSource
final class PropertySetPropertiesSource
PropertiesSource implementation that wraps a list of PropertySets and exposes a
Properties view to the PropertySets name-value pairs.
| Field Summary | |
|---|---|
private java.util.Properties |
properties
Eagerly created Properties instance containing all resolved name-value pairs |
| Constructor Summary | |
|---|---|
PropertySetPropertiesSource(java.util.List<org.apache.tools.ant.types.PropertySet> propertySets)
Create a new PropertySetPropertiesSource with the given propertySets. |
|
| Method Summary | |
|---|---|
int |
getPriority()
Returns the priority of this PropertiesSource instance. |
java.util.Properties |
getProperties()
Returns the full-constructed Properties instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.util.Properties properties
Properties instance containing all resolved name-value pairs
| Constructor Detail |
|---|
public PropertySetPropertiesSource(java.util.List<org.apache.tools.ant.types.PropertySet> propertySets)
PropertySetPropertiesSource with the given propertySets.
propertySets - list of PropertySets| Method Detail |
|---|
public int getPriority()
PropertiesSource instance. The priority describes the order in which all
PropertiesSources will be merged into the final Properties instance.
A lower priority means that the PropertiesSource's Properties instance will be added to the
merged Properties instance prior to PropertiesSources with higher priority. For example the
properties returned by System.getProperties() are likely to have the lowest priority to be able to
override those by user specified values.
getPriority in interface PropertiesSourcepublic java.util.Properties getProperties()
Properties instance.
getProperties in interface PropertiesSourceProperties instance created by this PropertiesSource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||