Class AbstractTargetUpgradeOperation
- java.lang.Object
-
- org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<Target>
-
- org.craftercms.deployer.impl.upgrade.operations.AbstractTargetUpgradeOperation
-
- All Implemented Interfaces:
org.craftercms.commons.upgrade.UpgradeOperation<Target>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
ConditionalEnvUpgradeOperation
public abstract class AbstractTargetUpgradeOperation extends org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<Target>
Base class for allUpgradeOperation
s that handle target configurations- Since:
- 3.1.8
- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_KEY_ADD
static String
CONFIG_KEY_DEPLOYMENT
static String
CONFIG_KEY_EXPRESSION
static String
CONFIG_KEY_HOOK_NAME
static String
CONFIG_KEY_LIFECYCLE_HOOKS
static String
CONFIG_KEY_PATTERN
static String
CONFIG_KEY_PIPELINE
static String
CONFIG_KEY_PROCESSOR
static String
CONFIG_KEY_PROCESSOR_NAME
static String
CONFIG_KEY_PROPERTY
static String
CONFIG_KEY_REMOVE
static String
CONFIG_KEY_REPLACE
static String
CONFIG_KEY_TARGET
static String
CONFIG_KEY_VALUE
static String
CONFIG_KEY_VALUES
protected org.yaml.snakeyaml.Yaml
yaml
-
Constructor Summary
Constructors Constructor Description AbstractTargetUpgradeOperation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doExecute(org.craftercms.commons.upgrade.impl.UpgradeContext<Target> context)
protected abstract void
doExecute(Target target, Map<String,Object> targetConfig)
protected List<Map<String,Object>>
getPipeline(Map<String,Object> targetConfig)
-
-
-
Field Detail
-
CONFIG_KEY_PROCESSOR
public static final String CONFIG_KEY_PROCESSOR
- See Also:
- Constant Field Values
-
CONFIG_KEY_REPLACE
public static final String CONFIG_KEY_REPLACE
- See Also:
- Constant Field Values
-
CONFIG_KEY_REMOVE
public static final String CONFIG_KEY_REMOVE
- See Also:
- Constant Field Values
-
CONFIG_KEY_PROPERTY
public static final String CONFIG_KEY_PROPERTY
- See Also:
- Constant Field Values
-
CONFIG_KEY_PATTERN
public static final String CONFIG_KEY_PATTERN
- See Also:
- Constant Field Values
-
CONFIG_KEY_EXPRESSION
public static final String CONFIG_KEY_EXPRESSION
- See Also:
- Constant Field Values
-
CONFIG_KEY_ADD
public static final String CONFIG_KEY_ADD
- See Also:
- Constant Field Values
-
CONFIG_KEY_VALUE
public static final String CONFIG_KEY_VALUE
- See Also:
- Constant Field Values
-
CONFIG_KEY_VALUES
public static final String CONFIG_KEY_VALUES
- See Also:
- Constant Field Values
-
CONFIG_KEY_TARGET
public static final String CONFIG_KEY_TARGET
- See Also:
- Constant Field Values
-
CONFIG_KEY_DEPLOYMENT
public static final String CONFIG_KEY_DEPLOYMENT
- See Also:
- Constant Field Values
-
CONFIG_KEY_PIPELINE
public static final String CONFIG_KEY_PIPELINE
- See Also:
- Constant Field Values
-
CONFIG_KEY_PROCESSOR_NAME
public static final String CONFIG_KEY_PROCESSOR_NAME
- See Also:
- Constant Field Values
-
CONFIG_KEY_LIFECYCLE_HOOKS
public static final String CONFIG_KEY_LIFECYCLE_HOOKS
- See Also:
- Constant Field Values
-
CONFIG_KEY_HOOK_NAME
public static final String CONFIG_KEY_HOOK_NAME
- See Also:
- Constant Field Values
-
yaml
protected org.yaml.snakeyaml.Yaml yaml
-
-