Class MissingCondition

java.lang.Object
uk.org.webcompere.modelassert.json.condition.MissingCondition
All Implemented Interfaces:
Condition

public class MissingCondition extends Object implements Condition
  • Method Details

    • getInstance

      public static MissingCondition getInstance()
      Access the one and only instance
      Returns:
      the MissingCondition instnace
    • test

      public Result test(com.fasterxml.jackson.databind.JsonNode json)
      Description copied from interface: Condition
      Execute the test of the condition
      Specified by:
      test in interface Condition
      Parameters:
      json - the json to test
      Returns:
      a Result explaining whether the condition was met and if not, why not
    • describe

      public String describe()
      Describe the condition
      Specified by:
      describe in interface Condition
      Returns:
      description of the condition