Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for Empty (1.99 sec)

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

        /**
         * Gets the current project (if any).
         *
         * @return the current project or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return the current mojo execution or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<MojoExecution> getMojoExecution();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ExtensionDescriptorBuilderTest.java

    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

         *            empty.
         * @param pluginArtifactId The artifact id of the plugin whose configuration should be used, must not be
         *            {@code null} or empty.
         * @param pluginExecutionId The id of a plugin execution whose configuration should be used, may be {@code null} or
         *            empty to use the general plugin configuration.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

        @Nonnull
        <T> T lookup(Class<T> type, String name);
    
        /**
         * Performs a lookup for optional typed component.
         *
         * @param type The component type.
         * @return Optional carrying component or empty optional if no such component.
         * @param <T> The component type.
         * @throws LookupException if there is some provisioning related issue.
         */
        @Nonnull
        <T> Optional<T> lookupOptional(Class<T> type);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            assertNotNull(list, "No dependencies");
            assertTrue(!list.isEmpty(), "Empty dependency list");
    
            Map<?, ?> map = projectToClone.getManagedVersionMap();
            assertNotNull(map, "No ManagedVersionMap");
            assertTrue(!map.isEmpty(), "ManagedVersionMap is empty");
    
            MavenProject clonedProject = projectToClone.clone();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

            if (!result.hasExceptions()) {
                return Optional.empty();
            }
    
            List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
            boolean hasNoSuccess =
                    sortedProjects.stream().noneMatch(project -> result.getBuildSummary(project) instanceof BuildSuccess);
    
            if (hasNoSuccess) {
                return Optional.empty();
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

        /**
         * Gets the decrypted proxies.
         *
         * @return The decrypted proxy, can be empty but never {@code null}.
         */
        List<Proxy> getProxies();
    
        /**
         * Gets the problems that were encountered during the settings decryption.
         *
         * @return The problems that were encountered during the decryption, can be empty but never {@code null}.
         */
        List<SettingsProblem> getProblems();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

         *
         * @param settings The settings' string representation, may be empty or {@code null}.
         */
        public StringSettingsSource(CharSequence settings) {
            this(settings, null);
        }
    
        /**
         * Creates a new settings source backed by the specified string.
         *
         * @param settings The settings' string representation, may be empty or {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

     *
     * @since 3.0.2
     */
    public interface RuntimeInformation {
    
        /**
         * Retrieves the current Maven version, for example "3.0.2".
         *
         * @return The current Maven version or an empty string if unknown, never {@code null}.
         */
        String getMavenVersion();
    
        /**
         * Checks whether the current Maven runtime matches the specified version range. A version range can either use the
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

        default Optional<Version> getLowerVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(0));
        }
    
        @Nonnull
        default Optional<Version> getHigherVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(getVersions().size() - 1));
        }
    
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top