public class PurgeOldData extends AbstractClient
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DRY_RUN |
static java.lang.String |
SYNCFILE |
static java.lang.String |
WINSTON_CONFIG |
static java.lang.String |
YEAR_DAY |
args, commandName, DEFAULT_USER_AGENT, HELP, jsap, params, result, userAgent, VERSION
Constructor and Description |
---|
PurgeOldData(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
protected void |
addParams() |
static void |
main(java.lang.String[] args) |
void |
purge() |
add, createListOption, createListOption, createListOption, getArgs, getCommandName, getHelp, getParams, getResult, getUserAgent, isSpecified, isSuccess, requiresAtLeastOneArg, setUserAgent, shouldPrintHelp, shouldPrintVersion
public static final java.lang.String YEAR_DAY
public static final java.lang.String DRY_RUN
public static final java.lang.String WINSTON_CONFIG
public static final java.lang.String SYNCFILE
public PurgeOldData(java.lang.String[] args) throws com.martiansoftware.jsap.JSAPException
com.martiansoftware.jsap.JSAPException
protected void addParams() throws com.martiansoftware.jsap.JSAPException
addParams
in class AbstractClient
com.martiansoftware.jsap.JSAPException
public void purge() throws java.io.IOException, SeisFileException, java.net.URISyntaxException, java.sql.SQLException
java.io.IOException
SeisFileException
java.net.URISyntaxException
java.sql.SQLException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception