org.apache.maven.surefire.booter
Class BooterDeserializer

java.lang.Object
  extended by org.apache.maven.surefire.booter.BooterDeserializer
All Implemented Interfaces:
BooterConstants

public class BooterDeserializer
extends Object
implements BooterConstants

Knows how to serialize and deserialize the booter configuration.

The internal serialization format is through a properties file. The long-term goal of this class is not to expose this implementation information to its clients. This still leaks somewhat, and there are some cases where properties are being accessed as "Properties" instead of more representative domain objects.

Author:
Jason van Zyl, Emmanuel Venisse, Kristian Rosenvold

Field Summary
 
Fields inherited from interface org.apache.maven.surefire.booter.BooterConstants
EXCLUDES_PROPERTY_PREFIX, FAILIFNOTESTS, FORKTESTSET, FORKTESTSET_PREFER_TESTS_FROM_IN_STREAM, INCLUDES_PROPERTY_PREFIX, ISTRIMSTACKTRACE, PROVIDER_CONFIGURATION, REPORTSDIRECTORY, REQUESTEDTEST, REQUESTEDTESTMETHOD, RUN_ORDER, RUN_STATISTICS_FILE, SOURCE_DIRECTORY, SPECIFIC_TEST_PROPERTY_PREFIX, TEST_CLASSES_DIRECTORY, TEST_SUITE_XML_FILES, TESTARTIFACT_CLASSIFIER, TESTARTIFACT_VERSION, USEMANIFESTONLYJAR, USESYSTEMCLASSLOADER
 
Constructor Summary
BooterDeserializer(InputStream inputStream)
           
 
Method Summary
 ProviderConfiguration deserialize()
           
 StartupConfiguration getProviderConfiguration()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooterDeserializer

public BooterDeserializer(InputStream inputStream)
                   throws IOException
Throws:
IOException
Method Detail

deserialize

public ProviderConfiguration deserialize()

getProviderConfiguration

public StartupConfiguration getProviderConfiguration()


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