Class EmptyArtifacts

  • All Implemented Interfaces:
    BuildArtifacts

    public class EmptyArtifacts
    extends Object
    implements BuildArtifacts
    Author:
    Eugene Petrenko (eugene.petrenko@gmail.com) Date: 14.04.11 22:58
    • Constructor Detail

      • EmptyArtifacts

        public EmptyArtifacts()
    • Method Detail

      • getArtifact

        public BuildArtifact getArtifact​(@NotNull
                                         String relativePath)
        Description copied from interface: BuildArtifacts
        Returns artifact if is is available and you have enough rights to use it.
        Specified by:
        getArtifact in interface BuildArtifacts
        Parameters:
        relativePath - path to artifact
        Returns:
        artifact info or null
      • findArtifact

        @NotNull
        public BuildArtifactHolder findArtifact​(@NotNull
                                                String relativePath)
        Description copied from interface: BuildArtifacts
        Returns artifact holder for requested artifact path. Use this method if you need detailed information on why you cannot see an artifact by given relative path
        Specified by:
        findArtifact in interface BuildArtifacts
        Parameters:
        relativePath - relative path to find artifact
        Returns:
        artifact holder object representing an artifact, even if build have no such artifact or you do not have rights to see it
      • isAvailable

        public boolean isAvailable()
        Description copied from interface: BuildArtifacts
        Checks if build contains available artifacts
        Specified by:
        isAvailable in interface BuildArtifacts
        Returns:
        true if there are some available artifacts