org.jtheque.core.managers.update
Class InstallationResult

java.lang.Object
  extended by org.jtheque.core.managers.update.InstallationResult

public final class InstallationResult
extends java.lang.Object

The result of a module installation.

Author:
Baptiste Wicht

Constructor Summary
InstallationResult()
           
 
Method Summary
 java.lang.String getJarFile()
          Return the jar-file name.
 java.lang.String getName()
          Return the name of the module.
 boolean isInstalled()
          Indicate if the module has been installed.
 boolean isMustRestart()
          Indicate if we need restart the application.
 void setInstalled(boolean installed)
          Set if the module has been installed or not.
 void setJarFile(java.lang.String jarFile)
          Set the jar file name.
 void setMustRestart(boolean mustRestart)
          Set if the we need to restart the application.
 void setName(java.lang.String name)
          Set the name of the module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallationResult

public InstallationResult()
Method Detail

isInstalled

public boolean isInstalled()
Indicate if the module has been installed.

Returns:
true if the module has been installed else false.

setInstalled

public void setInstalled(boolean installed)
Set if the module has been installed or not.

Parameters:
installed - A boolean tag indicating if the module has been installed or not.

isMustRestart

public boolean isMustRestart()
Indicate if we need restart the application.

Returns:
true if the application need to be restarted.

setMustRestart

public void setMustRestart(boolean mustRestart)
Set if the we need to restart the application.

Parameters:
mustRestart - A boolean tag indicating if the application need to be restarted.

getJarFile

public java.lang.String getJarFile()
Return the jar-file name.

Returns:
The name of the jar file.

setJarFile

public void setJarFile(java.lang.String jarFile)
Set the jar file name.

Parameters:
jarFile - The name of the jar file.

getName

public java.lang.String getName()
Return the name of the module.

Returns:
The name of the module.

setName

public void setName(java.lang.String name)
Set the name of the module.

Parameters:
name - The name of the module.


Copyright © 2009 JTheque. All Rights Reserved.