R - generic type of request used by the mojopublic abstract class AbstractKeyToolRequestWithKeyStoreParametersMojo<R extends KeyToolRequestWithKeyStoreParameters> extends AbstractKeyToolRequestMojo<R>
KeyToolRequestWithKeyStoreParameters request.| Constructor and Description |
|---|
AbstractKeyToolRequestWithKeyStoreParametersMojo(Class<R> requestType)
Constructor of abstract mojo.
|
| Modifier and Type | Method and Description |
|---|---|
protected R |
createKeytoolRequest()
To prepare the incoming request, says fill it with mojo parameters.
|
protected void |
createParentDirIfNecessary(String file)
Create the parent directory of the given file location.
|
protected String |
getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline commandLine)
Gets a string representation of a
Commandline. |
protected File |
getFile(String path) |
protected File |
getKeystoreFile() |
consumeResult, executegetMessage, getMessage, getMessage, isSkip, isVerbose, setSkip, setVerboseprotected R createKeytoolRequest()
createKeytoolRequest in class AbstractKeyToolRequestMojo<R extends KeyToolRequestWithKeyStoreParameters>KeyToolRequestprotected String getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline commandLine)
Commandline.
This method creates the string representation by calling commandLine.toString() by default.
getCommandlineInfo in class AbstractKeyToolRequestMojo<R extends KeyToolRequestWithKeyStoreParameters>commandLine - The Commandline to get a string representation of (can not be null).commandLine.protected final void createParentDirIfNecessary(String file)
file - file location to checkprotected File getKeystoreFile()
Copyright © 2005–2024 MojoHaus. All rights reserved.