Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for fromPath (0.06 sec)

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

        }
    
        @Nullable
        ModelSource resolve(@Nonnull ModelLocator modelLocator, @Nonnull String relative);
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path) {
            return fromPath(path, null);
        }
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path, @Nullable String location) {
            return new PathSource(nonNull(path, "path cannot be null"), location);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull Session session, @Nonnull Path installationSettingsPath, @Nonnull Path userSettingsPath) {
            return build(session, Source.fromPath(installationSettingsPath), null, Source.fromPath(userSettingsPath));
        }
    
        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull Session session,
                @Nullable Source installationSettingsSource,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

                                    ? Source.fromPath(installationToolchainsFile)
                                    : null)
                    .userToolchainsSource(
                            userToolchainsPath != null && Files.exists(userToolchainsPath)
                                    ? Source.fromPath(userToolchainsPath)
                                    : null)
                    .build();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            if (file != null && file.exists()) {
                return org.apache.maven.api.services.Source.fromPath(file.toPath());
            } else if (source instanceof FileSource fs) {
                return org.apache.maven.api.services.Source.fromPath(fs.getPath());
            } else if (source != null) {
                return new org.apache.maven.api.services.Source() {
                    @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            }
        }
    
        private Source convert(org.apache.maven.building.Source source) {
            if (source instanceof FileSource fs) {
                return Source.fromPath(fs.getPath());
            } else if (source != null) {
                return new Source() {
                    @Override
                    public Path getPath() {
                        return null;
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         */
        @Nullable
        Source resolve(@Nonnull String relative);
    
        /**
         * Creates a Source for the following Path
         */
        @Nonnull
        static Source fromPath(@Nonnull Path path) {
            return new PathSource(nonNull(path, "path cannot be null"));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    	fromDate, err := time.Parse(time.RFC3339, cert.ValidFrom)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ValidFrom, err)
    		return false
    	}
    	if today.After(fromDate) && today.Before(expDate) {
    		return true
    	}
    	return false
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top