org.codehaus.mojo.mrm.impl.maven
Class ArtifactStoreFileSystem
java.lang.Object
org.codehaus.mojo.mrm.api.BaseFileSystem
org.codehaus.mojo.mrm.impl.maven.ArtifactStoreFileSystem
- All Implemented Interfaces:
- Serializable, org.codehaus.mojo.mrm.api.FileSystem
public class ArtifactStoreFileSystem
- extends org.codehaus.mojo.mrm.api.BaseFileSystem
A FileSystem that delegates to a ArtifactStore.
- Since:
- 1.0
- See Also:
for the oposite.,
Serialized Form
|
Constructor Summary |
ArtifactStoreFileSystem(org.codehaus.mojo.mrm.api.maven.ArtifactStore store)
Creates a FileSystem backed by an ArtifactStore. |
|
Method Summary |
protected org.codehaus.mojo.mrm.api.Entry |
get(org.codehaus.mojo.mrm.api.DirectoryEntry parent,
String name)
|
long |
getLastModified(org.codehaus.mojo.mrm.api.DirectoryEntry entry)
|
org.codehaus.mojo.mrm.api.Entry[] |
listEntries(org.codehaus.mojo.mrm.api.DirectoryEntry directory)
|
| Methods inherited from class org.codehaus.mojo.mrm.api.BaseFileSystem |
get, getRoot, mkdir, put, put, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactStoreFileSystem
public ArtifactStoreFileSystem(org.codehaus.mojo.mrm.api.maven.ArtifactStore store)
- Creates a
FileSystem backed by an ArtifactStore.
- Parameters:
store - the backing artifact store.- Since:
- 1.0
listEntries
public org.codehaus.mojo.mrm.api.Entry[] listEntries(org.codehaus.mojo.mrm.api.DirectoryEntry directory)
-
get
protected org.codehaus.mojo.mrm.api.Entry get(org.codehaus.mojo.mrm.api.DirectoryEntry parent,
String name)
-
- Overrides:
get in class org.codehaus.mojo.mrm.api.BaseFileSystem
getLastModified
public long getLastModified(org.codehaus.mojo.mrm.api.DirectoryEntry entry)
throws IOException
-
- Throws:
IOException
Copyright © 2009-2011 Codehaus. All Rights Reserved.