Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for messageBuilderFactory (0.15 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

     */
    public abstract class ConfiguredGoalSupport extends GoalSupport {
        protected ConfiguredGoalSupport(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(DefaultEncryptInvoker.LocalContext context) throws Exception {
            if (!validateConfiguration(context)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/GoalSupport.java

            this.messageBuilderFactory = messageBuilderFactory;
            this.secDispatcher = secDispatcher;
        }
    
        protected boolean configExists() throws IOException {
            return secDispatcher.readConfiguration(false) != null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Diag.java

    /**
     * The "diag" goal.
     */
    @Singleton
    @Named("diag")
    public class Diag extends ConfiguredGoalSupport {
        @Inject
        public Diag(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        protected int doExecute(DefaultEncryptInvoker.LocalContext context) {
            dumpResponse(context, "", secDispatcher.validateConfiguration());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java

    /**
     * The "encrypt" goal.
     */
    @Singleton
    @Named("encrypt")
    public class Encrypt extends ConfiguredGoalSupport {
        @Inject
        public Encrypt(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        protected int doExecute(DefaultEncryptInvoker.LocalContext context) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        default Logger logger() {
            return parserRequest().logger();
        }
    
        /**
         * Shorthand for {@link MessageBuilderFactory}.
         */
        default MessageBuilderFactory messageBuilderFactory() {
            return parserRequest().messageBuilderFactory();
        }
    
        /**
         * Shorthand for {@link Lookup}.
         */
        default Lookup lookup() {
            return parserRequest().lookup();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 08:06:47 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                    bind(ILoggerFactory.class).toInstance(context.loggerFactory);
                    bind(CoreExports.class).toInstance(exports);
                    bind(MessageBuilderFactory.class).toInstance(context.invokerRequest.messageBuilderFactory());
                }
            };
        }
    
        protected LoggerManager createLoggerManager() {
            return new Slf4jLoggerManager();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

        private SecDispatcher dispatcher;
    
        private Map<String, ConfigurationProcessor> configurationProcessors;
    
        private CLIManager cliManager;
    
        private MessageBuilderFactory messageBuilderFactory;
    
        private FileSystem fileSystem = FileSystems.getDefault();
    
        private static final Pattern NEXT_LINE = Pattern.compile("\r?\n");
    
        public MavenCli() {
            this(null);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

    import org.apache.maven.api.Constants;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Message builder that supports configurable styling.
     *
     * @since 4.0.0
     * @see MessageBuilderFactory
     */
    public interface MessageBuilder extends Appendable {
    
        /**
         * Append message content in trace style.
         * By default, bold magenta
         *
         * @param message the message to append
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                return null;
            }
        }
    
        protected ExecutionListener determineExecutionListener(C context) {
            ExecutionListener listener = new ExecutionEventLogger(context.invokerRequest.messageBuilderFactory());
            if (context.eventSpyDispatcher != null) {
                listener = context.eventSpyDispatcher.chainListener(listener);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            } else if (context.interactive && !logFile) {
                return new SimplexTransferListener(new ConsoleMavenTransferListener(
                        context.invokerRequest.messageBuilderFactory(),
                        context.terminal.writer(),
                        context.invokerRequest.options().verbose().orElse(false)));
            } else {
                return new Slf4jMavenTransferListener();
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top