Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 286 for GetFile (0.13 sec)

  1. subprojects/core/src/main/java/org/gradle/configuration/BuildOperationScriptPlugin.java

                        final ScriptSource source = getSource();
                        final ResourceLocation resourceLocation = source.getResource().getLocation();
                        final File file = resourceLocation.getFile();
                        String name = "Apply " + source.getShortDisplayName();
                        final String displayName = name + " to " + target;
    
                        return BuildOperationDescriptor.displayName(displayName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/NativeExecutableFileSpec.java

     */
    @Incubating @UnmanagedStruct
    public class NativeExecutableFileSpec {
    
        private File file;
        private NativeToolChain toolChain;
    
        public File getFile() {
            return file;
        }
    
        public void setFile(File file) {
            this.file = file;
        }
    
        /**
         * The Tool Chain that produces the native executable.
         * @since 4.7
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/FileProfileActivator.java

            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationFile file = activation.getFile();
    
            if (file == null) {
                return false;
            }
    
            String path;
            boolean missing;
    
            if (file.getExists() != null && !file.getExists().isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileTree.java

            final Set<File> files = new LinkedHashSet<File>();
            visit(new EmptyFileVisitor() {
                @Override
                public void visitFile(FileVisitDetails fileDetails) {
                    files.add(fileDetails.getFile());
                }
            });
            return files;
        }
    
        @Override
        public boolean isEmpty() {
            final MutableBoolean found = new MutableBoolean();
            visit(new EmptyFileVisitor() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                        return
                    }
                    if (!fvd.getFile().getName().endsWith(".xml")) {
                        return
                    }
    
                    String newFileName = fvd.file.name.replaceAll('.xml$', '.html')
                    File outFile = fvd.relativePath.replaceLastName(newFileName).getFile(destDir)
                    outFile.parentFile.mkdirs()
    
                    execOps.javaexec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/TestArtifactSet.java

            }
    
            @Override
            public boolean isResolveSynchronously() {
                return false;
            }
    
            @Override
            public File getFile() {
                return artifact.getFile();
            }
    
            @Override
            public IvyArtifactName getArtifactName() {
                throw new UnsupportedOperationException();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/LocalComponentArtifactMetadata.java

    import org.gradle.internal.component.model.ComponentArtifactMetadata;
    
    import java.io.File;
    
    public interface LocalComponentArtifactMetadata extends ComponentArtifactMetadata, DisplayName {
        File getFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 921 bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/CandidateClassFile.java

     * limitations under the License.
     */
    
    package org.gradle.internal.enterprise.test;
    
    import java.io.File;
    
    public interface CandidateClassFile {
    
        File getFile();
    
        /**
         * Returns the path of this file, relative to the root of the containing classes directory.
         * Always uses '/' as separator, regardless of the platform file separator.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 970 bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/ResolvedArtifactResult.java

    /**
     * The result of successfully resolving an artifact.
     *
     * @since 2.0
     */
    public interface ResolvedArtifactResult extends ArtifactResult {
        /**
         * The file for the artifact.
         */
        File getFile();
    
        /**
         * The variant that included this artifact.
         */
        ResolvedVariantResult getVariant();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 10 09:42:35 UTC 2018
    - 1000 bytes
    - Viewed (0)
  10. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/DownloadedUriTextResourceTest.groovy

            when:
            downloadedFile.text = "Some content"
            underTest = new DownloadedUriTextResource("Test description", sourceUri, "", downloadedFile, resolver)
    
            then:
            underTest.getFile() == null
        }
    
        def "should return charset of content type"() {
            when:
            downloadedFile.text = "Some content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top