org.apache.maven.shared.release.config
Class ReleaseDescriptorStoreStub

java.lang.Object
  extended by org.apache.maven.shared.release.config.ReleaseDescriptorStoreStub
All Implemented Interfaces:
ReleaseDescriptorStore

public class ReleaseDescriptorStoreStub
extends Object
implements ReleaseDescriptorStore

Test stub for the release configuration store that holds a single configuration in memory.

Author:
Brett Porter

Field Summary
 
Fields inherited from interface org.apache.maven.shared.release.config.ReleaseDescriptorStore
ROLE
 
Constructor Summary
ReleaseDescriptorStoreStub()
           
 
Method Summary
 void delete(ReleaseDescriptor config)
           
 ReleaseDescriptor getReleaseConfiguration()
           
 ReleaseDescriptor read(ReleaseDescriptor mergeDescriptor)
           
 void write(ReleaseDescriptor config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleaseDescriptorStoreStub

public ReleaseDescriptorStoreStub()
Method Detail

read

public ReleaseDescriptor read(ReleaseDescriptor mergeDescriptor)
Specified by:
read in interface ReleaseDescriptorStore

write

public void write(ReleaseDescriptor config)
Specified by:
write in interface ReleaseDescriptorStore

delete

public void delete(ReleaseDescriptor config)
Specified by:
delete in interface ReleaseDescriptorStore

getReleaseConfiguration

public ReleaseDescriptor getReleaseConfiguration()


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.