Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Prompter (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Service used to interact with the end user.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Prompter extends Service {
        /**
         * Prompts the user for a string.
         *
         * @param message the message to display to the user
         * @return the string entered by the user
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

     * Trivial master password source using Maven {@link Prompter} service.
     */
    @Singleton
    @Named(ConsolePasswordPrompt.NAME)
    public class ConsolePasswordPrompt implements MasterSource, MasterSourceMeta {
        public static final String NAME = "console-prompt";
    
        private final Prompter prompter;
    
        @Inject
        public ConsolePasswordPrompt(Prompter prompter) {
            this.prompter = prompter;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

    import java.util.List;
    
    import org.apache.maven.api.services.Prompter;
    import org.apache.maven.api.services.PrompterException;
    import org.codehaus.plexus.PlexusContainer;
    
    @Named
    @Singleton
    public class DefaultPrompter implements Prompter {
    
        private static final String PROMPTER_CLASS = "org.codehaus.plexus.components.interactivity.Prompter";
        private final PlexusContainer container;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/PrompterException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.Serial;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class throw by the {@link Prompter} service.
     *
     * @since 4.0.0
     */
    @Experimental
    public class PrompterException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = -3505070928479515081L;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. docs/tls/README.md

    CN = MyServerName
    
    [v3_req]
    subjectAltName = @alt_names
    
    [alt_names]
    IP.1 = 127.0.0.1
    DNS.1 = localhost
    ```
    
    Run `openssl` by specifying the configuration file and enter a passphrase if prompted:
    
    ```sh
    openssl req -new -x509 -nodes -days 730 -keyout private.key -out public.crt -config openssl.conf
    ```
    
    ### 3.3 Use GnuTLS (for Windows) to Generate a Certificate
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.4K bytes
    - Viewed (0)
Back to top