Class DeleteLocalRepoFolderLifecycleHook
java.lang.Object
org.craftercms.deployer.impl.lifecycle.AbstractLifecycleHook
org.craftercms.deployer.impl.lifecycle.DeleteLocalRepoFolderLifecycleHook
- All Implemented Interfaces:
TargetLifecycleHook,InitializableByConfigBean
Implementation of
TargetLifecycleHook that deletes the local Git clone of a remote repo.- Since:
- 3.1.8
- Author:
- avasquez
-
Field Summary
FieldsFields inherited from class org.craftercms.deployer.impl.lifecycle.AbstractLifecycleHook
CONFIG_KEY_DISABLED, disabled, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voiddoInit(org.apache.commons.configuration2.Configuration config) voidsetLocalRepoFolder(String localRepoFolder) Methods inherited from class org.craftercms.deployer.impl.lifecycle.AbstractLifecycleHook
execute, init
-
Field Details
-
localRepoFolder
-
-
Constructor Details
-
DeleteLocalRepoFolderLifecycleHook
public DeleteLocalRepoFolderLifecycleHook()
-
-
Method Details
-
setLocalRepoFolder
-
doInit
protected void doInit(org.apache.commons.configuration2.Configuration config) throws org.craftercms.commons.config.ConfigurationException, DeployerException - Specified by:
doInitin classAbstractLifecycleHook- Throws:
org.craftercms.commons.config.ConfigurationExceptionDeployerException
-
doExecute
- Specified by:
doExecutein classAbstractLifecycleHook- Throws:
DeployerException
-