Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for unwrap (0.17 sec)

  1. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. 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)
  4. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    decorated matcher, including its mismatch description. For example: describedAs("a big decimal equal to %0", equalTo(myBigDecimal), myBigDecimal.toPlainString()) Parameters: description - the new description for the wrapped matcher matcher - the matcher to wrap values - optional values to insert into the tokenised description everyItem public static <U> Matcher<java.lang.Iterable<U>> everyItem(Matcher<U> itemMatcher) Creates a matcher for Iterables that only matches when a single pass over the examined Iterable...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

         * this class delegates all of its calls.
         */
        public static class PrefixedObjectValueSource extends AbstractDelegatingValueSource
                implements QueryEnabledValueSource {
    
            /**
             * Wrap the specified root object, allowing the specified expression prefix.
             * @param prefix the prefix.
             * @param root the root of the graph.
             */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  7. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    mismatch description. * <p/> * For example: * <pre>describedAs("a big decimal equal to %0", 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.co...
    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/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)
  10. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top