Package

com.twitter.scrooge

validation

Permalink

package validation

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Issue extends AnyRef

    Permalink

    An issue indicates that a thrift object does not conform to the requirements defined in the thrift definition.

    An issue indicates that a thrift object does not conform to the requirements defined in the thrift definition. These are returned by the validateNewInstance method in the thrift struct's companion object.

  2. case class MissingConstructionRequiredField(field: ThriftStructFieldInfo) extends Issue with Product with Serializable

    Permalink

    When the Issue is returned by validateNewInstance a construction required field is missing from the object.

    When the Issue is returned by validateNewInstance a construction required field is missing from the object.

    field

    ThriftStructFieldInfo for the missing field

  3. case class MissingRequiredField(field: ThriftStructFieldInfo) extends Issue with Product with Serializable

    Permalink

    When the Issue is returned by validateNewInstance a required field is missing from the object.

    When the Issue is returned by validateNewInstance a required field is missing from the object.

    field

    ThriftStructFieldInfo for the missing field

Ungrouped