Class AntProjectPropertiesDelegate

java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<String,Object>
org.codehaus.groovy.ant.AntProjectPropertiesDelegate
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class AntProjectPropertiesDelegate extends Hashtable<String,Object>
Live Hashtable-style view over an Ant project's immutable properties. Mutation requests are redirected to Ant where possible and otherwise rejected.
See Also:
  • Constructor Details

    • AntProjectPropertiesDelegate

      public AntProjectPropertiesDelegate(org.apache.tools.ant.Project project)
      Creates a delegate backed by the supplied Ant project.
      Parameters:
      project - the project whose properties should be exposed
    • AntProjectPropertiesDelegate

      public AntProjectPropertiesDelegate(Map<? extends String,?> t)
      Creates a detached delegate initialized from the supplied map.
      Parameters:
      t - the initial property values
  • Method Details