Class ProcessorPresentUpgradeOperation
java.lang.Object
org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<Target>
org.craftercms.deployer.impl.upgrade.operations.AbstractTargetUpgradeOperation
org.craftercms.deployer.impl.upgrade.operations.ConditionalEnvUpgradeOperation
org.craftercms.deployer.impl.upgrade.operations.AbstractProcessorUpgradeOperation
org.craftercms.deployer.impl.upgrade.operations.ProcessorPresentUpgradeOperation
- All Implemented Interfaces:
org.craftercms.commons.upgrade.UpgradeOperation<Target>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
AddLifecycleHookUpgradeOperation
Extension of
AbstractTargetUpgradeOperation
that only runs if a given processor is found in the pipeline of
the target- Since:
- 3.1.9
- Author:
- joseross
-
Field Summary
Fields inherited from class org.craftercms.deployer.impl.upgrade.operations.AbstractProcessorUpgradeOperation
processorName
Fields inherited from class org.craftercms.deployer.impl.upgrade.operations.ConditionalEnvUpgradeOperation
CONFIG_KEY_ENV_PATTERN, envPattern
Fields inherited from class org.craftercms.deployer.impl.upgrade.operations.AbstractTargetUpgradeOperation
CONFIG_KEY_ADD, CONFIG_KEY_DEPLOYMENT, CONFIG_KEY_EXPRESSION, CONFIG_KEY_HOOK_NAME, CONFIG_KEY_LIFECYCLE_HOOKS, CONFIG_KEY_PATTERN, CONFIG_KEY_PIPELINE, CONFIG_KEY_PROCESSOR, CONFIG_KEY_PROCESSOR_NAME, CONFIG_KEY_PROPERTY, CONFIG_KEY_REMOVE, CONFIG_KEY_REPLACE, CONFIG_KEY_TARGET, CONFIG_KEY_VALUE, CONFIG_KEY_VALUES, yaml
Fields inherited from class org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation
applicationContext, currentVersion, enabled, logger, nextVersion
-
Constructor Summary
-
Method Summary
Methods inherited from class org.craftercms.deployer.impl.upgrade.operations.AbstractProcessorUpgradeOperation
init
Methods inherited from class org.craftercms.deployer.impl.upgrade.operations.ConditionalEnvUpgradeOperation
doExecuteInternal
Methods inherited from class org.craftercms.deployer.impl.upgrade.operations.AbstractTargetUpgradeOperation
doExecute, getPipeline
Methods inherited from class org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation
doInit, execute, loadResource, setApplicationContext, setEnabled
-
Constructor Details
-
ProcessorPresentUpgradeOperation
public ProcessorPresentUpgradeOperation()
-
-
Method Details
-
doExecute
- Overrides:
doExecute
in classConditionalEnvUpgradeOperation
- Throws:
Exception
-