|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.upgrade.UpgradeManager
public class UpgradeManager
Manager for upgrade operations on the portal framework.
Field Summary | |
---|---|
static String |
ACTION_TYPE_CUSTOM
Indicates that a custom step handler should be executed. |
static String |
ACTION_TYPE_REGISTER_SERVICE
Indicates that the step handler for registering a service should be executed. |
static String |
ACTION_TYPE_RUN_SQL
|
static String |
ACTION_TYPE_UNREGISTER_CONTROL_TYPE
Indicates that the step handler for unregister a control type should be executed. |
static int |
BUILD_STATUS_ERROR
|
static int |
BUILD_STATUS_EXECUTING
|
static int |
BUILD_STATUS_SUCCESS
|
static int |
USER_RESPONSE_EXECUTION_REQUESTED
|
static int |
USER_RESPONSE_EXECUTION_SKIPPED
|
Constructor Summary | |
---|---|
UpgradeManager()
|
Method Summary | |
---|---|
BuildConfig |
executeNextPendingBuild(SessionConfig sessionConfig,
ITransaction transaction)
Executes the next pending build. |
BuildConfig |
getCurrentBuildInfo(ITransaction transaction)
Get the current build information |
String |
getNextBuild(String userSessionId,
String buildNumber,
String buildSequence,
ITransaction transaction)
Gets next build node |
void |
markUpgradesDone(SessionConfig sessionConfig,
ITransaction transaction)
Marks all pending upgrades as done. |
void |
rebuildLumisAdministration(SessionConfig sessionConfig,
ITransaction transaction)
|
void |
setBuildStatus(SessionConfig sessionConfig,
BuildConfig buildConfig,
String buildStatus,
String userResponse,
ITransaction transaction)
Sets build status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ACTION_TYPE_RUN_SQL
public static final String ACTION_TYPE_CUSTOM
public static final String ACTION_TYPE_REGISTER_SERVICE
RegisterServiceStepHandler
,
Constant Field Valuespublic static final String ACTION_TYPE_UNREGISTER_CONTROL_TYPE
UnregisterControlTypeStepHandler
,
Constant Field Valuespublic static final int BUILD_STATUS_EXECUTING
public static final int BUILD_STATUS_SUCCESS
public static final int BUILD_STATUS_ERROR
public static final int USER_RESPONSE_EXECUTION_REQUESTED
public static final int USER_RESPONSE_EXECUTION_SKIPPED
Constructor Detail |
---|
public UpgradeManager()
Method Detail |
---|
public String getNextBuild(String userSessionId, String buildNumber, String buildSequence, ITransaction transaction) throws ManagerException, PortalException
IUpgradeManager
getNextBuild
in interface IUpgradeManager
ManagerException
PortalException
public void setBuildStatus(SessionConfig sessionConfig, BuildConfig buildConfig, String buildStatus, String userResponse, ITransaction transaction) throws PortalException
IUpgradeManager
setBuildStatus
in interface IUpgradeManager
PortalException
public void markUpgradesDone(SessionConfig sessionConfig, ITransaction transaction) throws ManagerException, PortalException
IUpgradeManager
markUpgradesDone
in interface IUpgradeManager
sessionConfig
- the user session information.transaction
- the transaction for persistence access.
ManagerException
PortalException
public BuildConfig executeNextPendingBuild(SessionConfig sessionConfig, ITransaction transaction) throws PortalException
IUpgradeManager
executeNextPendingBuild
in interface IUpgradeManager
sessionConfig
- the user session information.transaction
- the transaction for persistence access.
UpgradeException
- if an exception was thrown during the build execution.
PortalException
public void rebuildLumisAdministration(SessionConfig sessionConfig, ITransaction transaction) throws ManagerException, PortalException
rebuildLumisAdministration
in interface IUpgradeManager
ManagerException
PortalException
public BuildConfig getCurrentBuildInfo(ITransaction transaction) throws ManagerException, PortalException
IUpgradeManager
getCurrentBuildInfo
in interface IUpgradeManager
ManagerException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |