Class CompositeMappingValidator

java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.markets.mappings.CompositeMappingValidator
All Implemented Interfaces:
MappingValidator

public class CompositeMappingValidator extends Object implements MappingValidator
Represents a MappingValidator wrapper around other mapping validators
  • Method Details

    • validate

      public boolean validate(Map<String,String> specifiers)
      Determines whether a specific mapping can be used to map market with provided specifiers
      Specified by:
      validate in interface MappingValidator
      Parameters:
      specifiers - A Map containing market specifiers
      Returns:
      True if the associated market can be mapped with associated mapping; Otherwise false.
    • toString

      public String toString()
      Constructs and returns a string representation of the current instance
      Overrides:
      toString in class Object
      Returns:
      A string representation of the current instance