Interface JarSignerRequest

  • All Superinterfaces:
    org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
    All Known Implementing Classes:
    AbstractJarSignerRequest, JarSignerSignRequest, JarSignerVerifyRequest

    public interface JarSignerRequest
    extends org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
    Specifies the common parameters used to control a JarSigner tool invocation.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAlias()
      Gets the value of the alias field.
      java.io.File getArchive()
      Gets the value of the archive field.
      java.lang.String[] getArguments()
      Gets the value of the maxMemory field.
      java.lang.String getKeystore()
      Gets the value of the keystore field.
      java.lang.String getMaxMemory()
      Gets the value of the maxMemory field.
      java.lang.String getProviderArg()
      Gets the value of the providerArg field.
      java.lang.String getProviderClass()
      Gets the value of the providerClass field.
      java.lang.String getProviderName()
      Gets the value of the providerName field.
      java.lang.String getStorepass()
      Gets the value of the storepass field.
      java.lang.String getStoretype()
      Gets the value of the storetype field.
      java.io.File getWorkingDirectory()
      Gets the value of the workingDirectory field.
      boolean isProtectedAuthenticationPath()
      Gets the value of the command line tool parameter
      boolean isVerbose()
      Gets the value of the verbose field.
      void setAlias​(java.lang.String alias)
      Sets the new given value to the field alias of the request.
      void setArchive​(java.io.File archive)
      Sets the new given value to the field archive of the request.
      void setArguments​(java.lang.String... arguments)
      Sets the new given value to the field arguments of the request.
      void setKeystore​(java.lang.String keystore)
      Sets the new given value to the field keystore of the request.
      void setMaxMemory​(java.lang.String maxMemory)
      Sets the new given value to the field maxMemory of the request.
      void setProtectedAuthenticationPath​(boolean protectedAuthenticationPath)
      Sets the value of the command line tool parameter
      void setProviderArg​(java.lang.String providerArg)
      Sets the new given value to the field providerArg of the request.
      void setProviderClass​(java.lang.String providerClass)
      Sets the new given value to the field providerClass of the request.
      void setProviderName​(java.lang.String providerName)
      Sets the new given value to the field providerName of the request.
      void setStorepass​(java.lang.String storepass)
      Sets the new given value to the field storepass of the request.
      void setStoretype​(java.lang.String storetype)
      Sets the new given value to the field storetype of the request.
      void setVerbose​(boolean verbose)
      Sets the new given value to the field verbose of the request.
      void setWorkingDirectory​(java.io.File workingDirectory)
      Sets the new given value to the field workingDirectory of the request.
      • Methods inherited from interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest

        getSystemErrorStreamConsumer, getSystemOutStreamConsumer, setSystemErrorStreamConsumer, setSystemOutStreamConsumer
    • Method Detail

      • isVerbose

        boolean isVerbose()
        Gets the value of the verbose field.
        Returns:
        the value of the verbose field.
      • getKeystore

        java.lang.String getKeystore()
        Gets the value of the keystore field.
        Returns:
        the value of the keystore field.
      • getStoretype

        java.lang.String getStoretype()
        Gets the value of the storetype field.
        Returns:
        the value of the storetype field.
      • getStorepass

        java.lang.String getStorepass()
        Gets the value of the storepass field.
        Returns:
        the value of the storepass field.
      • getProviderName

        java.lang.String getProviderName()
        Gets the value of the providerName field.
        Returns:
        the value of the providerName field.
      • getProviderClass

        java.lang.String getProviderClass()
        Gets the value of the providerClass field.
        Returns:
        the value of the providerClass field.
      • getProviderArg

        java.lang.String getProviderArg()
        Gets the value of the providerArg field.
        Returns:
        the value of the providerArg field.
      • getAlias

        java.lang.String getAlias()
        Gets the value of the alias field.
        Returns:
        the value of the alias field.
      • getMaxMemory

        java.lang.String getMaxMemory()
        Gets the value of the maxMemory field.
        Returns:
        the value of the maxMemory field.
      • getArguments

        java.lang.String[] getArguments()
        Gets the value of the maxMemory field.
        Returns:
        the value of the maxMemory field.
      • getWorkingDirectory

        java.io.File getWorkingDirectory()
        Gets the value of the workingDirectory field.
        Returns:
        the value of the workingDirectory field.
      • getArchive

        java.io.File getArchive()
        Gets the value of the archive field.

        The archive field is in fact the file on which the jarsigner request will be executed.

        Returns:
        the value of the archive field.
      • isProtectedAuthenticationPath

        boolean isProtectedAuthenticationPath()
        Gets the value of the command line tool parameter
        protected
        Returns:
        true iff the password must be given via a protected authentication path such as a dedicated PIN reader
      • setVerbose

        void setVerbose​(boolean verbose)
        Sets the new given value to the field verbose of the request.
        Parameters:
        verbose - the new value of the field verbose.
      • setKeystore

        void setKeystore​(java.lang.String keystore)
        Sets the new given value to the field keystore of the request.
        Parameters:
        keystore - the new value of the field keystore.
      • setStoretype

        void setStoretype​(java.lang.String storetype)
        Sets the new given value to the field storetype of the request.
        Parameters:
        storetype - the new value of the field storetype.
      • setStorepass

        void setStorepass​(java.lang.String storepass)
        Sets the new given value to the field storepass of the request.
        Parameters:
        storepass - the new value of the field storepass.
      • setAlias

        void setAlias​(java.lang.String alias)
        Sets the new given value to the field alias of the request.
        Parameters:
        alias - the new value of the field alias.
      • setProviderName

        void setProviderName​(java.lang.String providerName)
        Sets the new given value to the field providerName of the request.
        Parameters:
        providerName - the new value of the field providerName.
      • setProviderClass

        void setProviderClass​(java.lang.String providerClass)
        Sets the new given value to the field providerClass of the request.
        Parameters:
        providerClass - the new value of the field providerClass.
      • setProviderArg

        void setProviderArg​(java.lang.String providerArg)
        Sets the new given value to the field providerArg of the request.
        Parameters:
        providerArg - the new value of the field providerArg.
      • setMaxMemory

        void setMaxMemory​(java.lang.String maxMemory)
        Sets the new given value to the field maxMemory of the request.
        Parameters:
        maxMemory - the new value of the field maxMemory.
      • setArguments

        void setArguments​(java.lang.String... arguments)
        Sets the new given value to the field arguments of the request.
        Parameters:
        arguments - the new value of the field arguments.
      • setWorkingDirectory

        void setWorkingDirectory​(java.io.File workingDirectory)
        Sets the new given value to the field workingDirectory of the request.
        Parameters:
        workingDirectory - the new value of the field workingDirectory.
      • setArchive

        void setArchive​(java.io.File archive)
        Sets the new given value to the field archive of the request.
        Parameters:
        archive - the new value of the field archive.
      • setProtectedAuthenticationPath

        void setProtectedAuthenticationPath​(boolean protectedAuthenticationPath)
        Sets the value of the command line tool parameter
        protected
        Parameters:
        protectedAuthenticationPath - iff the password must be given via a protected authentication path such as a dedicated PIN reader