Interface ArtifactStore

All Known Implementing Classes:
Session

public interface ArtifactStore
ArtifactStore is a state-agnostic view of artifact storage used by middleware and tools that do not need to know the custom state type S of the session.

Session implements this interface.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addArtifacts(Artifact... artifacts)
    Adds artifacts, deduplicating by name.
    Returns a copy of the current list of artifacts.
  • Method Details

    • getArtifacts

      List<Artifact> getArtifacts()
      Returns a copy of the current list of artifacts.
      Returns:
      a copy of the artifacts (never null)
    • addArtifacts

      void addArtifacts(Artifact... artifacts)
      Adds artifacts, deduplicating by name. If an artifact with the same non-null name already exists, it is replaced in place. Artifacts with null names are always appended.
      Parameters:
      artifacts - the artifacts to add