org.jtheque.core.managers.patch
Interface IPatchManager

All Superinterfaces:
IManager
All Known Implementing Classes:
PatchManager

public interface IPatchManager
extends IManager

A manager for the patch the modules, the core and the application can add to the application and which are launched before the others things when the application launch.

Author:
Baptiste Wicht

Method Summary
 boolean applyPatchsIfNeeded()
          Aplly the patchs if needed.
 boolean isApplied(java.lang.String name)
          Indicate if a patch of a certain name is applied or not.
 void registerOnlinePatch(OnlinePatch patch)
          Register an onlinepatch.
 void registerPatch(Patch p)
          Register a patch.
 void setUpdated(boolean updatedParam)
          Set updated.
 
Methods inherited from interface org.jtheque.core.managers.IManager
close, init, preInit
 

Method Detail

setUpdated

void setUpdated(boolean updatedParam)
Set updated.

Parameters:
updatedParam - true if the application has been updated else false.

registerOnlinePatch

void registerOnlinePatch(OnlinePatch patch)
Register an onlinepatch.

Parameters:
patch - The online patch to register.

registerPatch

void registerPatch(Patch p)
Register a patch.

Parameters:
p - The patch to register.

applyPatchsIfNeeded

boolean applyPatchsIfNeeded()
Aplly the patchs if needed.

Returns:
The patchs if needed.

isApplied

boolean isApplied(java.lang.String name)
Indicate if a patch of a certain name is applied or not.

Parameters:
name - The name of the patch.
Returns:
true if the patch has been applied else false.


Copyright © 2009 JTheque. All Rights Reserved.