org.apache.maven.plugin.surefire
Class SurefireProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by org.apache.maven.plugin.surefire.SurefireProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>, KeyValueSource

public class SurefireProperties
extends Properties
implements KeyValueSource

A properties implementation that preserves insertion order.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
SurefireProperties()
           
SurefireProperties(KeyValueSource source)
           
SurefireProperties(Properties source)
           
 
Method Summary
 void addList(List items, String propertyPrefix)
           
 void clear()
           
static void copyProperties(Properties target, Map<String,String> source)
           
 void copyPropertiesFrom(Properties source)
           
 void copyTo(Map target)
           
 void copyToSystemProperties()
           
 Iterable<Object> getStringKeySet()
           
 Enumeration<Object> keys()
           
static SurefireProperties loadProperties(File file)
           
 Set<Object> propertiesThatCannotBeSetASystemProperties()
           
 Object put(Object key, Object value)
           
 Object remove(Object key)
           
 void setClasspath(String prefix, Classpath classpath)
           
 void setNullableProperty(String key, String value)
           
 void setProperty(String key, Boolean aBoolean)
           
 void setProperty(String key, File file)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML
 
Methods inherited from class java.util.Hashtable
clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keySet, putAll, rehash, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SurefireProperties

public SurefireProperties()

SurefireProperties

public SurefireProperties(Properties source)

SurefireProperties

public SurefireProperties(KeyValueSource source)
Method Detail

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map<Object,Object>
Overrides:
put in class Hashtable<Object,Object>

remove

public Object remove(Object key)
Specified by:
remove in interface Map<Object,Object>
Overrides:
remove in class Hashtable<Object,Object>

clear

public void clear()
Specified by:
clear in interface Map<Object,Object>
Overrides:
clear in class Hashtable<Object,Object>

keys

public Enumeration<Object> keys()
Overrides:
keys in class Hashtable<Object,Object>

copyPropertiesFrom

public void copyPropertiesFrom(Properties source)

getStringKeySet

public Iterable<Object> getStringKeySet()

propertiesThatCannotBeSetASystemProperties

public Set<Object> propertiesThatCannotBeSetASystemProperties()

copyToSystemProperties

public void copyToSystemProperties()

copyProperties

public static void copyProperties(Properties target,
                                  Map<String,String> source)

copyTo

public void copyTo(Map target)
Specified by:
copyTo in interface KeyValueSource

setProperty

public void setProperty(String key,
                        File file)

setProperty

public void setProperty(String key,
                        Boolean aBoolean)

addList

public void addList(List items,
                    String propertyPrefix)

setClasspath

public void setClasspath(String prefix,
                         Classpath classpath)

loadProperties

public static SurefireProperties loadProperties(File file)
                                         throws IOException
Throws:
IOException

setNullableProperty

public void setNullableProperty(String key,
                                String value)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.