|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for callers who want to monitor the progress of an installation. These are all callbacks sent by the server.
PluginInstaller
Method Summary | |
void |
addDependencyInstalled(org.apache.geronimo.kernel.repository.Artifact dep)
Notes that the current install operation found a dependency, and that dependency was downloaded from a remote repository and installed into the local server environment. |
void |
addDependencyPresent(org.apache.geronimo.kernel.repository.Artifact dep)
Notes that the current install operation found a dependency, and that dependency was satisfied by an artifact already available in the current server environment. |
void |
addDownloadBytes(long bytes)
Called at the end of a file download with the number of bytes downloaded in the current operation. |
void |
addInstalledConfigID(org.apache.geronimo.kernel.repository.Artifact target)
Notes that a configuration passed as an argument to the install operation was successfully installed. |
void |
addRemovedConfigID(org.apache.geronimo.kernel.repository.Artifact obsolete)
Notes a configuration that was removed because it was obsoleted by a newly-installed configuration. |
void |
addRestartedConfigID(org.apache.geronimo.kernel.repository.Artifact target)
Notes that a configuration was restarted as a result of the current operation. |
void |
setCurrentFile(String currentFile)
Indicates which file the configuration installer is working on at the moment. |
void |
setCurrentFilePercent(int currentFileProgress)
Gives the percent complete for a file currently being downloaded. |
void |
setCurrentMessage(String currentMessage)
Describes the current operation status as a text message. |
void |
setFailure(Exception failure)
Indicates that a failure was encountered during the installation operation. |
void |
setFinished()
Always called when the operation is complete, regardless of whether there was a failure or not. |
Method Detail |
public void addRemovedConfigID(org.apache.geronimo.kernel.repository.Artifact obsolete)
public void addInstalledConfigID(org.apache.geronimo.kernel.repository.Artifact target)
public void addRestartedConfigID(org.apache.geronimo.kernel.repository.Artifact target)
public void addDependencyPresent(org.apache.geronimo.kernel.repository.Artifact dep)
public void addDependencyInstalled(org.apache.geronimo.kernel.repository.Artifact dep)
public void setCurrentFile(String currentFile)
public void setCurrentMessage(String currentMessage)
public void setCurrentFilePercent(int currentFileProgress)
public void addDownloadBytes(long bytes)
public void setFailure(Exception failure)
public void setFinished()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |