public class NexusIndexerCli
extends org.codehaus.plexus.tools.cli.AbstractCli
MinimalArtifactInfoIndexCreator
and
JarFileContentsIndexCreator
.Modifier and Type | Field and Description |
---|---|
static char |
CREATE_FILE_CHECKSUMS |
static char |
CREATE_INCREMENTAL_CHUNKS |
static char |
INCREMENTAL_CHUNK_KEEP_COUNT |
static char |
INDEX |
static char |
LEGACY |
static char |
NAME |
static char |
REPO |
static char |
TARGET_DIR |
static char |
TYPE |
static char |
UNPACK |
Constructor and Description |
---|
NexusIndexerCli() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.cli.Options |
buildCliOptions(org.apache.commons.cli.Options options) |
void |
displayHelp() |
void |
displayHelp(String message) |
int |
execute(String[] args) |
int |
execute(String[] arg0,
org.codehaus.plexus.classworlds.ClassWorld arg1) |
String |
getPomPropertiesPath() |
void |
invokePlexusComponent(org.apache.commons.cli.CommandLine cli,
org.codehaus.plexus.PlexusContainer plexus) |
static void |
main(String[] args) |
org.apache.commons.cli.CommandLine |
parse(String[] args) |
protected void |
showError(String message,
Exception e,
boolean show) |
protected int |
showFatalError(String message,
Exception e,
boolean show) |
public static final char REPO
public static final char INDEX
public static final char NAME
public static final char TYPE
public static final char TARGET_DIR
public static final char CREATE_INCREMENTAL_CHUNKS
public static final char CREATE_FILE_CHECKSUMS
public static final char INCREMENTAL_CHUNK_KEEP_COUNT
public static final char LEGACY
public static final char UNPACK
public int execute(String[] arg0, org.codehaus.plexus.classworlds.ClassWorld arg1)
execute
in class org.codehaus.plexus.tools.cli.AbstractCli
public int execute(String[] args)
execute
in class org.codehaus.plexus.tools.cli.AbstractCli
protected void showError(String message, Exception e, boolean show)
showError
in class org.codehaus.plexus.tools.cli.AbstractCli
protected int showFatalError(String message, Exception e, boolean show)
showFatalError
in class org.codehaus.plexus.tools.cli.AbstractCli
public org.apache.commons.cli.CommandLine parse(String[] args) throws org.apache.commons.cli.ParseException
parse
in class org.codehaus.plexus.tools.cli.AbstractCli
org.apache.commons.cli.ParseException
public String getPomPropertiesPath()
getPomPropertiesPath
in interface org.codehaus.plexus.tools.cli.Cli
getPomPropertiesPath
in class org.codehaus.plexus.tools.cli.AbstractCli
public org.apache.commons.cli.Options buildCliOptions(org.apache.commons.cli.Options options)
buildCliOptions
in interface org.codehaus.plexus.tools.cli.Cli
buildCliOptions
in class org.codehaus.plexus.tools.cli.AbstractCli
public void displayHelp()
displayHelp
in class org.codehaus.plexus.tools.cli.AbstractCli
public void displayHelp(String message)
public void invokePlexusComponent(org.apache.commons.cli.CommandLine cli, org.codehaus.plexus.PlexusContainer plexus) throws Exception
invokePlexusComponent
in interface org.codehaus.plexus.tools.cli.Cli
invokePlexusComponent
in class org.codehaus.plexus.tools.cli.AbstractCli
Exception
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.