Package

com.itv.scalapact.shared

matchir

Permalink

package matchir

Visibility
  1. Public
  2. All

Type Members

  1. case class IrBooleanNode(value: Boolean) extends IrNodePrimitive with Product with Serializable

    Permalink
  2. case class IrNode(label: String, value: Option[IrNodePrimitive], children: List[IrNode], ns: Option[String], attributes: IrNodeAttributes, isArray: Boolean, isXml: Boolean, path: IrNodePath) extends Product with Serializable

    Permalink
  3. case class IrNodeAttribute(value: IrNodePrimitive, path: IrNodePath) extends Product with Serializable

    Permalink
  4. case class IrNodeAttributes(attributes: Map[String, IrNodeAttribute]) extends Product with Serializable

    Permalink
  5. case class IrNodeDiff(message: String, path: IrNodePath) extends Product with Serializable

    Permalink
  6. sealed trait IrNodeEqualityResult extends AnyRef

    Permalink
  7. sealed trait IrNodeMatchPermissivity extends AnyRef

    Permalink
  8. case class IrNodeMatchingRules(rules: List[IrNodeRule], withTracing: RuleProcessTracing) extends Product with Serializable

    Permalink
  9. case class IrNodeMinArrayLengthRule(length: Int, path: IrNodePath) extends IrNodeRule with Product with Serializable

    Permalink
  10. sealed trait IrNodePath extends AnyRef

    Permalink
  11. case class IrNodePathAnyField(parent: IrNodePath) extends IrNodePath with Product with Serializable

    Permalink
  12. case class IrNodePathArrayAnyElement(parent: IrNodePath) extends IrNodePath with Product with Serializable

    Permalink
  13. case class IrNodePathArrayElement(index: Int, parent: IrNodePath) extends IrNodePath with Product with Serializable

    Permalink
  14. case class IrNodePathField(fieldName: String, parent: IrNodePath) extends IrNodePath with Product with Serializable

    Permalink
  15. case class IrNodePathFieldAttribute(attributeName: String, parent: IrNodePath) extends IrNodePath with Product with Serializable

    Permalink
  16. case class IrNodePathTextElement(parent: IrNodePath) extends IrNodePath with Product with Serializable

    Permalink
  17. sealed trait IrNodePrimitive extends AnyRef

    Permalink
  18. case class IrNodeRegexRule(regex: String, path: IrNodePath) extends IrNodeRule with Product with Serializable

    Permalink
  19. sealed trait IrNodeRule extends AnyRef

    Permalink
  20. case class IrNodeTypeRule(path: IrNodePath) extends IrNodeRule with Product with Serializable

    Permalink
  21. case class IrNodesNotEqual(differences: List[IrNodeDiff]) extends IrNodeEqualityResult with Product with Serializable

    Permalink
  22. case class IrNumberNode(value: Double) extends IrNodePrimitive with Product with Serializable

    Permalink
  23. case class IrStringNode(value: String) extends IrNodePrimitive with Product with Serializable

    Permalink
  24. sealed trait PactPathParseResult extends AnyRef

    Permalink
  25. trait PrimitiveConversionFunctions extends AnyRef

    Permalink
  26. case class RuleProcessTracing(enabled: Boolean, id: String, context: Option[String]) extends Product with Serializable

    Permalink
  27. trait XmlConversionFunctions extends PrimitiveConversionFunctions

    Permalink

Value Members

  1. object IrNode extends Serializable

    Permalink
  2. object IrNodeAttributes extends Serializable

    Permalink
  3. object IrNodeEqualityResult

    Permalink
  4. object IrNodeMatchPermissivity

    Permalink
  5. object IrNodeMatchingRules extends Serializable

    Permalink
  6. object IrNodePath

    Permalink
  7. object IrNodePathEmpty extends IrNodePath with Product with Serializable

    Permalink
  8. object IrNodesEqual extends IrNodeEqualityResult with Product with Serializable

    Permalink
  9. object IrNodesNotEqual extends Serializable

    Permalink
  10. object IrNullNode extends IrNodePrimitive with Product with Serializable

    Permalink
  11. object MatchIr extends XmlConversionFunctions with PrimitiveConversionFunctions

    Permalink
  12. object MatchIrConstants

    Permalink
  13. object NonPermissive extends IrNodeMatchPermissivity with Product with Serializable

    Permalink
  14. object PactPath

    Permalink

    PactPath (defined in the pact standard) is JsonPath with a few tweaks to support querying XML with a nearly JsonPath-like syntax.

    PactPath (defined in the pact standard) is JsonPath with a few tweaks to support querying XML with a nearly JsonPath-like syntax. Specific modifications to JsonPath are:

    - names match to element names ($.body.animals maps to <animals>) - @names match to attribute names - #text match to the text elements

    JsonPath support a ["xxx"] form which we use for to escape the @ and #. e.g. foo.bar["#text"] foo.bar['@id']

  15. object PactPathParseResult

    Permalink
  16. object PactPathPatterns

    Permalink
  17. object Permissive extends IrNodeMatchPermissivity with Product with Serializable

    Permalink
  18. object RuleChecks

    Permalink
  19. object RuleProcessTracing extends Serializable

    Permalink

Ungrouped