Interface Artifact

    • Method Detail

      • getLabel

        @NotNull
        @NotNull String getLabel()
        Label of the Artifact
        Returns:
        label
      • getSize

        long getSize()
        Returns a file size in bytes.
        Returns:
      • getLinkType

        @NotNull
        @NotNull String getLinkType()
        Type of artifact link
        Returns:
        linkType
      • isSharedArtifact

        boolean isSharedArtifact()
        Indicates if the artifact is a shared artifact.
        Returns:
        true if artifact is a shared artifact.
      • isGloballyStored

        boolean isGloballyStored()
        Indicates that the artifact is stored globally (i.e. not in plan specific catalogue)
      • getPlanResultKey

        @NotNull
        @NotNull PlanResultKey getPlanResultKey()
        Get key of ResultsSummary that owns this Artifact. Can be both Job or Plan result. May point to result which is already removed.
        Returns:
      • getArchiverType

        @NotNull
        @NotNull ArchiverType getArchiverType()
        Returns the type of archiver used for packaging files of this artifact. If artifact files were not packaged, ArchiverType.NONE should be returned.