public interface ArtifactInstaller extends ArtifactListener
ArtifactTransformer
interface instead.
Note that fileinstall does not keep track of those artifacts
across restarts, so this means that after a restart, existing
artifacts will be reported as new, while any deleted artifact
won't be reported as deleted.Modifier and Type | Method and Description |
---|---|
void |
install(java.io.File artifact)
Install the artifact
|
void |
uninstall(java.io.File artifact)
Uninstall the artifact
|
void |
update(java.io.File artifact)
Update the artifact
|
canHandle
void install(java.io.File artifact) throws java.lang.Exception
artifact
- the artifact to be installedjava.lang.Exception
void update(java.io.File artifact) throws java.lang.Exception
artifact
- the artifact to be updatedjava.lang.Exception
void uninstall(java.io.File artifact) throws java.lang.Exception
artifact
- the artifact to be uninstalledjava.lang.Exception
Copyright © 2006-2015 The Apache Software Foundation. All Rights Reserved.