public interface IDeploymentManagerSPI extends IDeploymentManager
Modifier and Type | Method and Description |
---|---|
void |
changeComponentResolved(String componentId,
ITransaction transaction)
Changes the resolved value of the component based on the given component
identifier.
|
void |
changeComponentSignal(String componentId,
ITransaction transaction)
Changes the signal value of the component based on the given component
identifier.
|
void |
changeModuleResolved(String moduleId,
ITransaction transaction)
Changes the resolved value of the module based on the given module
identifier.
|
void |
changeModuleSignal(String moduleId,
ITransaction transaction)
Changes the signal value of the module based on the given module
identifier.
|
IDeploymentExecutionPlan |
createModuleDeploymentExecutionPlan(File moduleFolder,
boolean forceReprocess,
boolean syncStructure)
Creates, validates and returns a module deployment execution plan.
|
IDeploymentExecutionPlan |
createPackageDeploymentExecutionPlan(File packageFolder,
boolean forceReprocess,
String packageId)
Creates, validates and returns a deployment execution plan.
|
IDeploymentExecutionPlan |
createPackageDeploymentExecutionPlan(File packageFolder,
boolean forceReprocess,
String packageId,
boolean syncStructure)
Creates, validates and returns a package deployment execution plan.
|
List<IComponent> |
getComponents()
Returns the list of all installed components.
|
String |
getLastDeployInstallationId()
Returns the Last Deploy Installation identifier.
|
boolean |
isInstallInProgress()
Returns whether a deploy installation is in progress.
|
void |
updateChannelId(String componentId,
String channelId)
Updates the channelId of the given component.
|
createModuleDeploymentProcess, createModuleUndeploymentProcess, createPackageDeploymentProcess, detectModuleType, getClass, getClassLoader, getComponent, getModule, getModules, getPortalDeployer, registerDeployer, submit, unregisterDeployer
String getLastDeployInstallationId() throws PortalException
PortalException
- if any error occurs during the process.boolean isInstallInProgress() throws PortalException
PortalException
- if any error occurs during the process.void changeModuleSignal(String moduleId, ITransaction transaction) throws PortalException
moduleId
- the module identifier to be changes the signal value.transaction
- the transaction to be used to change the module signal value.PortalException
- if any error occurs during the process.PortalObjectNotFoundException
- if the module cannot be located.void changeComponentSignal(String componentId, ITransaction transaction) throws PortalException
componentId
- the component identifier to be changes the signal value.transaction
- the transaction to be used to change the component signal
value.PortalException
- if any error occurs during the process.PortalObjectNotFoundException
- if the component cannot be located.void changeModuleResolved(String moduleId, ITransaction transaction) throws PortalException
moduleId
- the module identifier to be changes the signal value.transaction
- the transaction to be used to change the module signal value.PortalException
- if any error occurs during the process.PortalObjectNotFoundException
- if the module cannot be located.void changeComponentResolved(String componentId, ITransaction transaction) throws PortalException
componentId
- the component identifier to be changes the signal value.transaction
- the transaction to be used to change the component signal
value.PortalException
- if any error occurs during the process.PortalObjectNotFoundException
- if the component cannot be located.List<IComponent> getComponents() throws PortalException
PortalException
- if any error occurs during the process.IDeploymentExecutionPlan createPackageDeploymentExecutionPlan(File packageFolder, boolean forceReprocess, String packageId) throws PortalException
packageFolder
- the folder that contains the jar modules and package
definition.forceReprocess
- indicates if must reprocess all modules and components
involved in the package.packageId
- package identifier. This parameter is optional and it value is
the package file name.PortalException
- if any error occurs during the process.IDeploymentExecutionPlan createPackageDeploymentExecutionPlan(File packageFolder, boolean forceReprocess, String packageId, boolean syncStructure) throws PortalException
packageFolder
- the folder that contains the jar modules and package
definition.forceReprocess
- indicates if must reprocess all modules and components
involved in the package.packageId
- package identifier. This parameter is optional and it value is
the package file name.isScriptPackageOnly
- indicates that the current package is a package that contains
only the lumis-package.xml file.syncStructure
- indicates whether the components structures will be
synchronized.PortalException
- if any error occurs during the process.void updateChannelId(String componentId, String channelId) throws PortalException
PortalException
will be
raised.componentId
- the component identifier to be updated.channelId
- the channelId to be assigned.PortalException
- if any error occurs during the process.IDeploymentExecutionPlan createModuleDeploymentExecutionPlan(File moduleFolder, boolean forceReprocess, boolean syncStructure) throws PortalException
moduleFolder
- the folder that corresponds to the module root.forceReprocess
- indicates if must reprocess the module and its components.syncStructure
- indicates whether the components structures will be
synchronized.PortalException
- if any error occurs during the process.Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.