public abstract class AbstractCollectorLauncher extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ARG_ACTION |
static String |
ARG_ACTION_CHECKCONFIG
Deprecated.
Since 1.8.0, use -k or --checkcfg argument instead.
|
static String |
ARG_ACTION_RESUME |
static String |
ARG_ACTION_START |
static String |
ARG_ACTION_STOP |
static String |
ARG_CHECKCFG |
static String |
ARG_CONFIG |
static String |
ARG_VARIABLES |
Constructor and Description |
---|
AbstractCollectorLauncher()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ICollector |
createCollector(ICollectorConfig config) |
protected abstract Class<? extends AbstractCollectorConfig> |
getCollectorConfigClass() |
void |
launch(String[] args) |
protected org.apache.commons.cli.CommandLine |
parseCommandLineArguments(String[] args) |
public static final String ARG_ACTION
public static final String ARG_ACTION_START
public static final String ARG_ACTION_RESUME
public static final String ARG_ACTION_STOP
@Deprecated public static final String ARG_ACTION_CHECKCONFIG
public static final String ARG_CONFIG
public static final String ARG_VARIABLES
public static final String ARG_CHECKCFG
public void launch(String[] args)
protected org.apache.commons.cli.CommandLine parseCommandLineArguments(String[] args)
protected abstract Class<? extends AbstractCollectorConfig> getCollectorConfigClass()
protected abstract ICollector createCollector(ICollectorConfig config)
Copyright © 2014–2021 Norconex Inc.. All rights reserved.