|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.keytool.AbstractKeyToolMojo
org.codehaus.mojo.keytool.AbstractCmdLineKeyToolMojo
AbstractKeyToolRequestMojo
instead.
@Deprecated public abstract class AbstractCmdLineKeyToolMojo
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractCmdLineKeyToolMojo()
Deprecated. |
Method Summary | |
---|---|
protected void |
consumeResult(KeyToolResult result)
Deprecated. To consume the keytool comand execution. |
protected void |
createParentDirIfNecessary(String file)
Deprecated. Create the parent directory of the given file location. |
protected abstract KeyToolRequestWithKeyStoreAndAliasParameters |
createRequest()
Deprecated. Creates the key tool request to execute. |
void |
execute()
Deprecated. |
protected String |
getCommandlineInfo(org.codehaus.plexus.util.cli.Commandline commandLine)
Deprecated. Gets a string representation of a Commandline . |
String |
getKeystore()
Deprecated. |
File |
getWorkingDir()
Deprecated. |
void |
setAlias(String alias)
Deprecated. |
void |
setArguments(String[] arguments)
Deprecated. |
void |
setKeystore(String keystore)
Deprecated. |
protected void |
setKeyTool(KeyTool keyTool)
Deprecated. |
void |
setStorepass(String storepass)
Deprecated. |
void |
setStoretype(String storetype)
Deprecated. |
void |
setWorkingDir(File workingDir)
Deprecated. |
Methods inherited from class org.codehaus.mojo.keytool.AbstractKeyToolMojo |
---|
getMessage, getMessage, getMessage, isSkip, isVerbose, setSkip, setVerbose |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCmdLineKeyToolMojo()
Method Detail |
---|
protected abstract KeyToolRequestWithKeyStoreAndAliasParameters createRequest()
public final void execute() throws MojoExecutionException
MojoExecutionException
public final String getKeystore()
public final void setKeystore(String keystore)
keystore
- The keystore to set.public final File getWorkingDir()
public final void setWorkingDir(File workingDir)
workingDir
- The workingDirectory to set.public void setStoretype(String storetype)
storetype
- the storetype to setpublic void setStorepass(String storepass)
storepass
- the storepass to setpublic void setAlias(String alias)
alias
- the alias to setpublic void setArguments(String[] arguments)
arguments
- the arguments to setprotected void setKeyTool(KeyTool keyTool)
keyTool
- keyTool to setprotected String getCommandlineInfo(org.codehaus.plexus.util.cli.Commandline commandLine)
Commandline
.
This method creates the string representation by calling commandLine.toString()
by default.
commandLine
- The Commandline
to get a string representation of (can not be null).
commandLine
.protected void consumeResult(KeyToolResult result) throws MojoExecutionException
result
- result of the command line action
MojoExecutionException
- if the result is not 0 (means something bad occurs)protected void createParentDirIfNecessary(String file)
file
- file location to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |