org.robokind.impl.motion.sync
Class SynchronizedRobotConfigWriter

java.lang.Object
  extended by org.robokind.impl.motion.sync.SynchronizedRobotConfigWriter
All Implemented Interfaces:
ServiceConfigurationWriter<SynchronizedRobotConfig,File>

public class SynchronizedRobotConfigWriter
extends Object
implements ServiceConfigurationWriter<SynchronizedRobotConfig,File>

Author:
Matthew Stevenson

Field Summary
 
Fields inherited from interface org.robokind.api.common.services.ServiceConfigurationWriter
PROP_CONFIG_FORMAT_VERSION, PROP_PARAMETER_CLASS, PROP_SERVICE_CONFIG_CLASS
 
Constructor Summary
SynchronizedRobotConfigWriter()
           
 
Method Summary
 Class<SynchronizedRobotConfig> getConfigurationClass()
           
 VersionProperty getConfigurationFormat()
           
 Class<File> getParameterClass()
           
 boolean writeConfiguration(SynchronizedRobotConfig config, File param)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizedRobotConfigWriter

public SynchronizedRobotConfigWriter()
Method Detail

getConfigurationFormat

public VersionProperty getConfigurationFormat()
Specified by:
getConfigurationFormat in interface ServiceConfigurationWriter<SynchronizedRobotConfig,File>

writeConfiguration

public boolean writeConfiguration(SynchronizedRobotConfig config,
                                  File param)
                           throws Exception
Specified by:
writeConfiguration in interface ServiceConfigurationWriter<SynchronizedRobotConfig,File>
Throws:
Exception

getConfigurationClass

public Class<SynchronizedRobotConfig> getConfigurationClass()
Specified by:
getConfigurationClass in interface ServiceConfigurationWriter<SynchronizedRobotConfig,File>

getParameterClass

public Class<File> getParameterClass()
Specified by:
getParameterClass in interface ServiceConfigurationWriter<SynchronizedRobotConfig,File>


Copyright © 2011-2012. All Rights Reserved.