Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for wrap (0.45 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            }
    
            ArtifactTransferEvent event = wrap(transferEvent);
            event.setDataBuffer(buffer);
            event.setDataOffset(0);
            event.setDataLength(length);
            event.setTransferredBytes(transferred);
    
            listener.transferProgress(event);
        }
    
        public void transferStarted(TransferEvent transferEvent) {
            listener.transferStarted(wrap(transferEvent));
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                    return normalizer.normalize(value.toString());
                }
    
                return null;
            }
        }
    
        /**
         * Wraps an arbitrary object with an {@link ObjectBasedValueSource} instance, then
         * wraps that source with a {@link PrefixedValueSourceWrapper} instance, to which
         * this class delegates all of its calls.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/MojosExecutionStrategy.java

    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.LifecycleExecutionException;
    
    /**
     * Interface allows overriding default mojo execution strategy For example it is possible wrap some mojo execution to
     * decorate default functionality or skip some executions
     */
    public interface MojosExecutionStrategy {
    
        /**
         * Entry point to the execution strategy
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

                if (read < 0) {
                    break;
                }
                for (ChecksumCalculator checksumCalculator : algMap.values()) {
                    checksumCalculator.update(ByteBuffer.wrap(buffer, 0, read));
                }
            }
            LinkedHashMap<ChecksumAlgorithm, String> result = new LinkedHashMap<>();
            algMap.forEach((k, v) -> result.put(k, v.checksum()));
            return result;
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

                if (read < 0) {
                    break;
                }
                for (ChecksumCalculator checksumCalculator : algMap.values()) {
                    checksumCalculator.update(ByteBuffer.wrap(buffer, 0, read));
                }
            }
            LinkedHashMap<ChecksumAlgorithm, String> result = new LinkedHashMap<>();
            algMap.forEach((k, v) -> result.put(k, v.checksum()));
            return result;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
     * information including projectId that caused the failure.
     *
     *
     */
    public class ProjectBuildFailureException extends BuildFailureException {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                this.lifecycles = lifecycles;
            }
    
            @Override
            public Collection<Lifecycle> provides() {
                return lifecycles.values().stream().map(this::wrap).collect(Collectors.toList());
            }
    
            private Lifecycle wrap(org.apache.maven.lifecycle.Lifecycle lifecycle) {
                return new Lifecycle() {
                    @Override
                    public String id() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    equalTo(myBigDecimal), myBigDecimal.toPlainString())</pre> * * @param description * the new description for the wrapped matcher * @param matcher * the matcher to wrap * @param values * optional values to insert into the tokenised description */ public static <T> org.hamcrest.Matcher<T> describedAs(java.lang.String description, org.hamcrest.Matcher<T> matcher, java.lang.Object... values) { return org.hamcrest.core.DescribedAs.<T>describedAs(description, matcher, values); } /** * Creates a matcher for {@link...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

        }
    
        @Test
        void calculateByteBuffer() throws IOException {
            Map<ChecksumAlgorithmService.ChecksumAlgorithm, String> checksums = service.calculate(
                    ByteBuffer.wrap("test".getBytes(StandardCharsets.UTF_8)),
                    service.select(Arrays.asList("SHA-1", "MD5")));
            assertNotNull(checksums);
            assertEquals(2, checksums.size());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java

    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * Wraps individual MojoExecutions, containing information about completion status and scheduling.
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top