Interface KeyToolCommandLineBuilder

    • Field Detail

      • ROLE

        static final String ROLE
        Plexus role name.
    • Method Detail

      • supportRequestType

        <R extends KeyToolRequest> boolean supportRequestType​(Class<R> requestType)
        Test if given request type is supported by the underlined keytool implementation. Note: a request of a none supported type will then thrown a UnsupportedKeyToolRequestException in method build(KeyToolRequest)
        Type Parameters:
        R - type of request to test
        Parameters:
        requestType - type of request to test
        Returns:
        true if can create a such request type, false otherwise.
        Since:
        1.3
      • setLogger

        void setLogger​(org.codehaus.plexus.logging.Logger logger)
        Sets the logger used by the builder.
        Parameters:
        logger - logger to use in this builder
      • setKeyToolFile

        void setKeyToolFile​(String keyToolFile)
        Sets the keytool executable location.
        Parameters:
        keyToolFile - keytool executable location to use in this builder
      • checkRequiredState

        void checkRequiredState()
        Checks that builder is ready to produce commandline from incoming request. Says a logger is set and a keytool executable location is setted.