All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.takari.builder.internal.ArtifactResourcesImpl Maven / Gradle / Ivy

package io.takari.builder.internal;

import java.net.URL;
import java.util.Collections;
import java.util.Set;

import io.takari.builder.IArtifactResources;
import io.takari.builder.IArtifactMetadata;

class ArtifactResourcesImpl implements IArtifactResources {

  public final IArtifactMetadata artifact;

  public final Set urls;

  public ArtifactResourcesImpl(IArtifactMetadata artifact, Set urls) {
    this.artifact = artifact;
    this.urls = Collections.unmodifiableSet(urls);
  }

  @Override
  public IArtifactMetadata artifact() {
    return artifact;
  }

  @Override
  public Set resources() {
    return urls;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy