Class RestArtifact

    • Constructor Detail

      • RestArtifact

        public RestArtifact​(Artifact other)
    • Method Detail

      • getLabel

        @NotNull
        public @NotNull String getLabel()
        Description copied from interface: Artifact
        Label of the Artifact
        Specified by:
        getLabel in interface Artifact
        Returns:
        label
      • getSize

        public long getSize()
        Description copied from interface: Artifact
        Returns a file size in bytes.
        Specified by:
        getSize in interface Artifact
        Returns:
      • getLinkType

        @NotNull
        public @NotNull String getLinkType()
        Description copied from interface: Artifact
        Type of artifact link
        Specified by:
        getLinkType in interface Artifact
        Returns:
        linkType
      • isSharedArtifact

        public boolean isSharedArtifact()
        Description copied from interface: Artifact
        Indicates if the artifact is a shared artifact.
        Specified by:
        isSharedArtifact in interface Artifact
        Returns:
        true if artifact is a shared artifact.
      • isGloballyStored

        public boolean isGloballyStored()
        Description copied from interface: Artifact
        Indicates that the artifact is stored globally (i.e. not in plan specific catalogue)
        Specified by:
        isGloballyStored in interface Artifact
      • getArchiverType

        @NotNull
        public @NotNull ArchiverType getArchiverType()
        Description copied from interface: Artifact
        Returns the type of archiver used for packaging files of this artifact. If artifact files were not packaged, ArchiverType.NONE should be returned.
        Specified by:
        getArchiverType in interface Artifact