Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CreateMetadata (0.17 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

        private Artifact artifact;
    
        public SnapshotArtifactRepositoryMetadata(Artifact artifact) {
            super(createMetadata(artifact, null));
            this.artifact = artifact;
        }
    
        public SnapshotArtifactRepositoryMetadata(Artifact artifact, Snapshot snapshot) {
            super(createMetadata(artifact, createVersioning(snapshot)));
            this.artifact = artifact;
        }
    
        public boolean storedInGroupDirectory() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

            ArtifactMetadata metadata = createMetadata(artifact);
    
            artifact.addMetadata(metadata);
        }
    
        @Override
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) {
            ArtifactMetadata metadata = createMetadata(artifact);
    
            artifact.addMetadata(metadata);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

        LocalSnapshotMetadata(Artifact artifact, Date timestamp) {
            super(createMetadata(artifact), (Path) null, timestamp);
        }
    
        LocalSnapshotMetadata(Metadata metadata, Path path, Date timestamp) {
            super(metadata, path, timestamp);
        }
    
        private static Metadata createMetadata(Artifact artifact) {
            Snapshot snapshot = new Snapshot();
            snapshot.setLocalCopy(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. internal/crypto/sse-c.go

    	if err != nil {
    		return
    	}
    	return unsealObjectKey(clientKey[:], metadata, bucket, object)
    }
    
    // CreateMetadata encodes the sealed key into the metadata
    // and returns the modified metadata. It allocates a new
    // metadata map if metadata is nil.
    func (ssec) CreateMetadata(metadata map[string]string, sealedKey SealedKey) map[string]string {
    	if sealedKey.Algorithm != SealAlgorithm {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. internal/crypto/sse-s3.go

    		}
    		keys = append(keys, key)
    	}
    	return keys, nil
    }
    
    // CreateMetadata encodes the sealed object key into the metadata and returns
    // the modified metadata. If the keyID and the kmsKey is not empty it encodes
    // both into the metadata as well. It allocates a new metadata map if metadata
    // is nil.
    func (sses3) CreateMetadata(metadata map[string]string, keyID string, kmsKey []byte, sealedKey SealedKey) map[string]string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        public ArtifactRepositoryMetadata(Artifact artifact) {
            this(artifact, null);
        }
    
        public ArtifactRepositoryMetadata(Artifact artifact, Versioning versioning) {
            super(createMetadata(artifact, versioning));
            this.artifact = artifact;
        }
    
        public boolean storedInGroupDirectory() {
            return false;
        }
    
        public boolean storedInArtifactVersionDirectory() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. internal/crypto/sse-kms.go

    	return key, err
    }
    
    // CreateMetadata encodes the sealed object key into the metadata and returns
    // the modified metadata. If the keyID and the kmsKey is not empty it encodes
    // both into the metadata as well. It allocates a new metadata map if metadata
    // is nil.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            }
        }
    
        public String toString() {
            return "repository metadata for: '" + getKey() + "'";
        }
    
        protected static Metadata createMetadata(Artifact artifact, Versioning versioning) {
            Metadata metadata = new Metadata();
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top