Interface TargetLifecycleHook
- All Superinterfaces:
InitializableByConfigBean
- All Known Implementing Classes:
AbstractIndexAwareLifecycleHook
,AbstractLifecycleHook
,ClearS3BucketLifecycleHook
,CreateCloudFormationLifecycleHook
,CreateIndexLifecycleHook
,DeleteCloudFormationLifecycleHook
,DeleteIndexLifecycleHook
,DeleteLocalRepoFolderLifecycleHook
,WaitTillCloudFormationStackUsableLifecycleHook
A hook executed during a lifecycle phase of a target. Current valid lifecycle phases:
- Create: when the create target API is called
- Init: after a create or after the config is loaded
- Delete: when the delete target API is called
- Author:
- avasquez
-
Method Summary
Methods inherited from interface org.craftercms.deployer.utils.beans.InitializableByConfigBean
init
-
Method Details
-
execute
Execute the hook.- Parameters:
target
- the target associated to the hook- Throws:
DeployerException
- if there's an exception on execution
-