- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for Empty (0.1 sec)
-
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) -
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
if (modulePaths == null) { return Optional.empty(); } var automodulesDetected = new ArrayList<String>(); for (Path p : modulePaths) { getModuleInfo(p).addIfFilenameBasedAutomodules(automodulesDetected); } if (automodulesDetected.isEmpty()) { return Optional.empty(); } var joiner = new StringJoiner( ", ",
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 7.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelResolverException.java
* * @return The group id of the unresolvable model, can be empty but never {@code null}. */ public String getGroupId() { return groupId; } /** * Gets the artifact id of the unresolvable model. * * @return The artifact id of the unresolvable model, can be empty but never {@code null}. */ public String getArtifactId() { return artifactId;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 3.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java
* from the collection obtained by {@link #getModelIds()}. As a special case, an empty string can be used as the * identifier for the super POM. * * @param modelId The identifier of the model whose active profiles should be retrieved, must not be {@code null}. * @return The active profiles of the model or an empty list if the specified model id does * not refer to a known model or has no active profiles.
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 4.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java
* is thrown so this information is merely meant to assist the user. * * @return the identifier of the project or an empty string if not known, never {@code null} */ @Nonnull String getProjectId(); /** * Gets the POM file from which the project was built. * * @return the optional POM file */
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 2.6K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
private void validateIdentity() { if (empty(groupId)) { throw new InvalidArtifactRTException( groupId, artifactId, getVersion(), type, "The groupId cannot be empty."); } if (artifactId == null) { throw new InvalidArtifactRTException( groupId, artifactId, getVersion(), type, "The artifactId cannot be empty."); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 19:20:54 UTC 2024 - 14.5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/SimpleLookup.java
return null; } @Override public <T> Optional<T> lookupOptional(Class<T> type) { return Optional.empty(); } @Override public <T> Optional<T> lookupOptional(Class<T> type, String name) { return Optional.empty(); } @Override public <T> List<T> lookupList(Class<T> type) { return List.of(); } @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java
* Filename of the path specified at construction time. */ private final String filename; /** * Module information for the path specified at construction time. * This map is usually either empty if no module was found, or a singleton map. * It may however contain more than one entry if module hierarchy was detected, * in which case there is one key per sub-directory. *
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 12.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 5K bytes - Viewed (0)