Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for messageBuilderFactory (0.14 sec)

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

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * A factory for {@link MessageBuilder}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface MessageBuilderFactory extends Service {
        /**
         * Checks if the underlying output does support styling or not.
         * @return whether color styling is supported or not
         */
        boolean isColorEnabled();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jan 08 10:37:09 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

        protected final MessageBuilderFactory messageBuilderFactory;
        protected final PrintWriter out;
    
        protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintStream out) {
            this(messageBuilderFactory, new PrintWriter(out));
        }
    
        protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintWriter out) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

        }
    
        public LifecycleExecutionException(
                MessageBuilderFactory messageBuilderFactory,
                MojoExecution execution,
                MavenProject project,
                Throwable cause) {
            this(createMessage(messageBuilderFactory, execution, project, cause), execution, project, cause);
        }
    
        public MavenProject getProject() {
            return project;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

     */
    @Singleton
    @Named("init")
    public class Init extends GoalSupport {
        private static final String NONE = "__none__";
    
        @Inject
        public Init(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(DefaultEncryptInvoker.LocalContext context) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

        }
    
        public ExecutionEventLogger(MessageBuilderFactory messageBuilderFactory, Logger logger) {
            this(messageBuilderFactory, logger, -1);
        }
    
        public ExecutionEventLogger(MessageBuilderFactory messageBuilderFactory, Logger logger, int terminalWidth) {
            this.logger = Objects.requireNonNull(logger, "logger cannot be null");
            this.messageBuilderFactory = messageBuilderFactory;
            this.terminalWidth = terminalWidth;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java

    /**
     * The "decrypt" goal.
     */
    @Singleton
    @Named("decrypt")
    public class Decrypt extends ConfiguredGoalSupport {
        @Inject
        public Decrypt(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
    - 2.1K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

        public ConsoleMavenTransferListener(
                MessageBuilderFactory messageBuilderFactory, PrintStream out, boolean printResourceNames) {
            this(messageBuilderFactory, new PrintWriter(out), printResourceNames);
        }
    
        public ConsoleMavenTransferListener(
                MessageBuilderFactory messageBuilderFactory, PrintWriter out, boolean printResourceNames) {
            super(messageBuilderFactory, out);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

         */
        @Nonnull
        default R mvn(@Nonnull String[] args, @Nonnull Logger logger, @Nonnull MessageBuilderFactory messageBuilderFactory)
                throws ParserException, IOException {
            return parse(ParserRequest.mvn(args, logger, messageBuilderFactory).build());
        }
    
        /**
         * Parses the given ParserRequest to create an InvokerRequest.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            // default width
            new ExecutionEventLogger(messageBuilderFactory, logger, -1).projectStarted(event);
            Mockito.verify(logger).info("----------------------------[ maven-plugin ]----------------------------");
    
            // terminal width: 30
            new ExecutionEventLogger(messageBuilderFactory, logger, 30).projectStarted(event);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         * @param messageBuilderFactory the factory for creating message builders
         * @return a new Builder instance
         */
        @Nonnull
        static Builder mvn(
                @Nonnull String[] args, @Nonnull Logger logger, @Nonnull MessageBuilderFactory messageBuilderFactory) {
            return mvn(Arrays.asList(args), logger, messageBuilderFactory);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top