@Component(value="targetLifecycleHooksResolver") public class TargetLifecycleHooksResolverImpl extends Object implements TargetLifecycleHooksResolver
TargetLifecycleHooksResolver
.Constructor and Description |
---|
TargetLifecycleHooksResolverImpl() |
Modifier and Type | Method and Description |
---|---|
List<TargetLifecycleHook> |
getHooks(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> configuration,
org.springframework.context.ApplicationContext applicationContext,
String lifecycleHooksPropertyName)
Resolved a
TargetLifecycleHook based on the specified configuration |
public List<TargetLifecycleHook> getHooks(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> configuration, org.springframework.context.ApplicationContext applicationContext, String lifecycleHooksPropertyName) throws org.craftercms.commons.config.ConfigurationException, DeployerException
TargetLifecycleHooksResolver
TargetLifecycleHook
based on the specified configurationgetHooks
in interface TargetLifecycleHooksResolver
configuration
- the target's YAML configurationapplicationContext
- the target's application contextlifecycleHooksPropertyName
- the name of the hook list property in the YAML configurationorg.craftercms.commons.config.ConfigurationException
- if a configuration related exception occursDeployerException
- if a general error occursCopyright © 2023. All rights reserved.