org.codehaus.mojo.mrm.api.maven
Class BaseArtifactStore
java.lang.Object
org.codehaus.mojo.mrm.api.maven.BaseArtifactStore
- All Implemented Interfaces:
- Serializable, ArtifactStore
public abstract class BaseArtifactStore
- extends Object
- implements ArtifactStore
Base implementation of ArtifactStore.
- Since:
- 1.0
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseArtifactStore
public BaseArtifactStore()
set
public void set(Artifact artifact,
InputStream content)
throws IOException
- Create/update the specified artifact. This is an optional method for implementers.
- Specified by:
set in interface ArtifactStore
- Parameters:
artifact - the artifact to create/update.content - the stream of contents (implementer is responsible for closing).
- Throws:
IOException - if the content could not be read/written.
Copyright © 2009-2011 Codehaus. All Rights Reserved.