Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 105 for getTitle (0.09 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

                    artifact.setProperties(properties), groupId, artifactId, classifier, extension, version, message);
        }
    
        @Deprecated
        @Override
        public File getFile() {
            return artifact.getFile();
        }
    
        @Override
        public Path getPath() {
            return artifact.getPath();
        }
    
        @Override
        public String getProperty(String key, String defaultValue) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        }
    
        @Override
        public boolean isResolved() {
            return getFile() != null;
        }
    
        @Override
        public void setFile(File file) {
            throw new UnsupportedOperationException("transformed artifact file cannot be set");
        }
    
        @Override
        public synchronized File getFile() {
            try {
                String state = mayUpdate();
                if (state == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        protected File createFile() throws IOException {
          File file = File.createTempFile("SinkSourceFile", "txt");
          fileThreadLocal.set(file);
          return file;
        }
    
        protected File getFile() {
          return fileThreadLocal.get();
        }
    
        public final void tearDown() throws IOException {
          if (!fileThreadLocal.get().delete()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(project.getPackaging()).thenReturn("jar");
            when(project.getName()).thenReturn("Apache Maven Embedder");
            when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT");
            when(project.getFile()).thenReturn(new File(basedir, "maven-embedder/pom.xml"));
            when(event.getProject()).thenReturn(project);
    
            MavenProject rootProject = mock(MavenProject.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        }
        File file = out.getFile();
        assertNull(file);
    
        // Write data to go over the threshold
        if (chunk2 > 0) {
          if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
            assertThrows(IOException.class, () -> write(out, data, chunk1, chunk2, singleByte));
            return;
          }
          write(out, data, chunk1, chunk2, singleByte);
          file = out.getFile();
          assertEquals(dataSize, file.length());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

        private static final String TOUCHFILE_NAME = "resolver-status.properties";
    
        @Override
        public boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository) {
            File file = artifact.getFile();
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                if (getLogger().isDebugEnabled()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            Profile profile = newExistsProfile("file.txt");
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
    
            assertActivation(true, profile, context);
    
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
        }
    
        private Profile newExistsProfile(String filePath) {
            ActivationFile activationFile =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/DependencyResolutionRequiredException.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    /**
     * Exception that occurs when an artifact file is used, but has not been resolved.
     *
     * TODO it may be better for artifact.getFile() to throw it - perhaps it is a runtime exception?
     */
    public class DependencyResolutionRequiredException extends Exception {
        public DependencyResolutionRequiredException(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            this(artifact, null);
        }
    
        public ProjectArtifactMetadata(Artifact artifact, File file) {
            super(artifact);
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    
        public String getRemoteFilename() {
            return getFilename();
        }
    
        public String getLocalFilename(ArtifactRepository repository) {
            return getFilename();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java

         */
        String getVersion();
    
        /**
         * Gets the file of the constituent's artifact.
         *
         * @return The file, never {@code null}.
         */
        File getFile();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top