|
||||||||||
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.AbstractKeyToolRequestMojo<R>
org.codehaus.mojo.keytool.AbstractKeyToolRequestWithKeyStoreParametersMojo<R>
org.codehaus.mojo.keytool.AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo<KeyToolChangeAliasRequest>
org.codehaus.mojo.keytool.ChangeAliasMojo
public class ChangeAliasMojo
To change an entry alias into a keystore.
Implemented as a wrapper around the SDKkeytool -keyclone
(jdk 1.5) or keytool -changealias
(jdk 1.6)
command.
See keystore documentation.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
ChangeAliasMojo()
Default contructor. |
Method Summary | |
---|---|
protected KeyToolChangeAliasRequest |
createKeytoolRequest()
To prepare the incoming request, says fill it with mojo parameters. |
protected String |
getCommandlineInfo(org.codehaus.plexus.util.cli.Commandline commandLine)
Gets a string representation of a Commandline . |
String |
getDestalias()
Gets the value of the destalias field. |
String |
getKeypass()
Gets the value of the keypass field. |
void |
setDestalias(String destalias)
|
void |
setKeypass(String keypass)
Sets the new given value to the field keypass of the request. |
Methods inherited from class org.codehaus.mojo.keytool.AbstractKeyToolRequestWithKeyStoreParametersMojo |
---|
createParentDirIfNecessary |
Methods inherited from class org.codehaus.mojo.keytool.AbstractKeyToolRequestMojo |
---|
consumeResult, execute |
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 ChangeAliasMojo()
Method Detail |
---|
public String getDestalias()
destalias
field.
destalias
fieldpublic void setDestalias(String destalias)
destalias
- value of the field destalias
to setpublic String getKeypass()
keypass
field.
keypass
field.public void setKeypass(String keypass)
keypass
of the request.
keypass
- the new value of the field keypass
.protected KeyToolChangeAliasRequest createKeytoolRequest()
createKeytoolRequest
in class AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo<KeyToolChangeAliasRequest>
KeyToolRequest
protected String getCommandlineInfo(org.codehaus.plexus.util.cli.Commandline commandLine)
Commandline
.
This method creates the string representation by calling commandLine.toString()
by default.
getCommandlineInfo
in class AbstractKeyToolRequestWithKeyStoreParametersMojo<KeyToolChangeAliasRequest>
commandLine
- The Commandline
to get a string representation of (can not be null).
commandLine
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |