Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for messageBuilderFactory (2.39 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top