org.apache.maven.plugin.surefire.booterclient
Class BooterSerializer

java.lang.Object
  extended by org.apache.maven.plugin.surefire.booterclient.BooterSerializer

public class BooterSerializer
extends Object

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.

Version:
$Id$
Author:
Jason van Zyl, Emmanuel Venisse, Brett Porter, Dan Fabulich, Kristian Rosenvold

Constructor Summary
BooterSerializer(ForkConfiguration forkConfiguration, Properties properties)
           
 
Method Summary
 File serialize(ProviderConfiguration booterConfiguration, StartupConfiguration providerConfiguration, Object testSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooterSerializer

public BooterSerializer(ForkConfiguration forkConfiguration,
                        Properties properties)
Method Detail

serialize

public File serialize(ProviderConfiguration booterConfiguration,
                      StartupConfiguration providerConfiguration,
                      Object testSet)
               throws IOException
Throws:
IOException


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