Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for transferCorrupted (0.22 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

            pad(buffer, lastLength);
            buffer.append('\r');
            out.println(buffer);
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) {
            println(
                    "transferCorrupted",
                    event.getException().getClass() + ": " + event.getException().getMessage());
        }
    
        protected long toKB(long bytes) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            overridePreviousTransfer(event);
    
            super.transferInitiated(event);
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            overridePreviousTransfer(event);
    
            super.transferCorrupted(event);
        }
    
        @Override
        public void transferProgressed(TransferEvent event) throws TransferCancelledException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            message.resetStyle().append(resource.getResourceName());
    
            out.println(message.toString());
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            // TODO This needs to be colorized
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

                                delegate.transferProgressed(transferEvent);
                                break;
                            case CORRUPTED:
                                delegate.transferCorrupted(transferEvent);
                                break;
                            case SUCCEEDED:
                                delegate.transferSucceeded(transferEvent);
                                break;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

            message.append(": ");
            message.append(resource.getRepositoryUrl()).append(resource.getResourceName());
    
            out.info(message.toString());
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            out.warn(
                    "{} from {} for {}{}",
                    event.getException().getMessage(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

                public void transferProgressed(TransferEvent event) throws TransferCancelledException {
                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferSucceeded(TransferEvent event) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top