public class CreateIndexLifecycleHook extends AbstractIndexAwareLifecycleHook
TargetLifecycleHook
that creates an Elasticsearch index or a Crafter Search
based index.crafterSearchAdminService, elasticsearchAdminService, INDEX_ID_CONFIG_KEY, indexId, indexIdFormat, siteName
CONFIG_KEY_DISABLED, disabled, logger
Constructor and Description |
---|
CreateIndexLifecycleHook() |
Modifier and Type | Method and Description |
---|---|
void |
doExecute(Target target) |
doInit, setCrafterSearchAdminService, setElasticsearchAdminService, setIndexIdFormat, setSiteName
execute, init
public void doExecute(Target target) throws DeployerException
doExecute
in class AbstractLifecycleHook
DeployerException
Copyright © 2023. All rights reserved.