|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.plugins.resolver.packager.PackagerCacheEntry
public class PackagerCacheEntry
Represents one entry in the cache of a PackagerResolver
.
Constructor Summary | |
---|---|
PackagerCacheEntry(ModuleRevisionId mr,
java.io.File rootDir,
java.io.File resourceCache,
java.lang.String resourceURL,
boolean validate,
boolean preserve,
boolean restricted,
boolean verbose,
boolean quiet)
|
Method Summary | |
---|---|
void |
build(Resource packagerResource,
java.util.Map properties)
Attempt to build this entry. |
boolean |
cleanup()
|
protected void |
finalize()
|
ResolvedResource |
getBuiltArtifact(Artifact artifact)
Get a built artifact. |
boolean |
isBuilt()
Has this entry been successfully built? |
protected void |
saveFile(java.lang.String name)
|
protected void |
saveFile(java.lang.String name,
java.io.InputStream input)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackagerCacheEntry(ModuleRevisionId mr, java.io.File rootDir, java.io.File resourceCache, java.lang.String resourceURL, boolean validate, boolean preserve, boolean restricted, boolean verbose, boolean quiet)
Method Detail |
---|
public void build(Resource packagerResource, java.util.Map properties) throws java.io.IOException
packagerResource
- packager metadata resourceproperties
- a map of properties to pass to the child Ant build responsible for dependency
packaging
java.lang.IllegalStateException
- if this entry has already been built
java.io.IOException
public boolean isBuilt()
public ResolvedResource getBuiltArtifact(Artifact artifact)
java.lang.IllegalStateException
- if this entry's built has not
(yet) completed successfullypublic boolean cleanup()
protected void saveFile(java.lang.String name, java.io.InputStream input) throws java.io.IOException
java.io.IOException
protected void saveFile(java.lang.String name) throws java.io.IOException
java.io.IOException
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |