Class AbstractKeyToolRequestWithKeyStoreParametersMojo<R extends KeyToolRequestWithKeyStoreParameters>

    • Field Detail

      • keystore

        @Parameter
        private java.lang.String keystore
        Keystore location.

        See options.

      • storetype

        @Parameter
        private java.lang.String storetype
        Keystore type.

        See options.

      • storepass

        @Parameter(alias="storepass")
        private java.lang.String storepass
        Keystore password.

        See options.

      • providername

        @Parameter
        private java.lang.String providername
        Provider name.

        See options.

        Since:
        1.2
      • providerclass

        @Parameter
        private java.lang.String providerclass
        Provider class name.

        See options.

        Since:
        1.2
      • providerarg

        @Parameter
        private java.lang.String providerarg
        Provider argument.

        See options.

        Since:
        1.2
      • providerpath

        @Parameter
        private java.lang.String providerpath
        Provider classpath.

        See options.

        Since:
        1.2
    • Constructor Detail

      • AbstractKeyToolRequestWithKeyStoreParametersMojo

        public AbstractKeyToolRequestWithKeyStoreParametersMojo​(java.lang.Class<R> requestType)
        Constructor of abstract mojo.
        Parameters:
        requestType - type of keytool request used by the mojo
    • Method Detail

      • getCommandlineInfo

        protected java.lang.String getCommandlineInfo​(org.apache.maven.shared.utils.cli.Commandline commandLine)
        Gets a string representation of a Commandline.

        This method creates the string representation by calling commandLine.toString() by default.

        Overrides:
        getCommandlineInfo in class AbstractKeyToolRequestMojo<R extends KeyToolRequestWithKeyStoreParameters>
        Parameters:
        commandLine - The Commandline to get a string representation of (can not be null).
        Returns:
        The string representation of commandLine.
      • createParentDirIfNecessary

        protected final void createParentDirIfNecessary​(java.lang.String file)
        Create the parent directory of the given file location.
        Parameters:
        file - file location to check
      • getFile

        protected java.io.File getFile​(java.lang.String path)
      • getKeystoreFile

        protected java.io.File getKeystoreFile()