Class Artifact

All Implemented Interfaces:
CapybaraPortingLayer

public class Artifact extends PageObject
Artifact of a build
Author:
Kohsuke Kawaguchi
  • Field Details

    • build

      @NonNull public final Build build
  • Constructor Details

    • Artifact

      public Artifact(@NonNull Build build, @NonNull String path)
  • Method Details

    • getRelativePath

      public String getRelativePath()
    • shouldHaveContent

      public void shouldHaveContent(String content)
      Asserts that this artifact have the given content.
    • getTextContent

      public String getTextContent()
    • assertThatExists

      public void assertThatExists(Boolean should)