-
- All Implemented Interfaces:
-
org.springframework.boot.CommandLineRunner
@Component()@Profile(value = {"reindex"}) public final class ReindexCommand implements CommandLineRunner
-
-
Field Summary
Fields Modifier and Type Field Description private final Loggerloggerprivate ElasticSearchReindexerelasticSearchReindexer
-
Constructor Summary
Constructors Constructor Description ReindexCommand()
-
Method Summary
Modifier and Type Method Description final LoggergetLogger()final ElasticSearchReindexergetElasticSearchReindexer()final UnitsetElasticSearchReindexer(@Autowired() ElasticSearchReindexer elasticSearchReindexer)Unitrun(String args)-
-
Method Detail
-
getLogger
final Logger getLogger()
-
getElasticSearchReindexer
final ElasticSearchReindexer getElasticSearchReindexer()
-
setElasticSearchReindexer
final Unit setElasticSearchReindexer(@Autowired() ElasticSearchReindexer elasticSearchReindexer)
-
-
-
-