Class MkCheck

java.lang.Object
com.jcabi.github.mock.MkCheck
All Implemented Interfaces:
Check

@Immutable @Loggable(1) public final class MkCheck extends Object implements Check
Mock GitHub check.
Since:
1.6.1
  • Constructor Details

    • MkCheck

      public MkCheck(MkStorage stg, Coordinates coord, Pull pll, int number)
      Main ctor.
      Parameters:
      stg - Storage
      coord - Coordinates
      pll - Pull
      number - Check identifier
      Suppressed Checkstyle violations:
      ParameterNumber (6 lines)
  • Method Details

    • successful

      public boolean successful() throws IOException
      Description copied from interface: Check
      Checks whether Check was successful.
      Specified by:
      successful in interface Check
      Returns:
      True if Check was successful.
      Throws:
      IOException - If there is any I/O problem.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object