Value members
Inherited methods
Unpacks rule
from Option
if None
returns valid
Unpacks rule
from Option
if None
returns valid
- Inherited from:
- OptionSyntax
- Source:
- OptionSyntax.scala
Extensions
Inherited extensions
Adds new subrule to builder. Same as subRule
but for 3 subrules
Adds new subrule to builder. Same as subRule
but for 3 subrules
- Inherited from:
- PolicySyntax
- Source:
- PolicySyntax.scala
Adds new subrule to builder. Same as subRule
but for 2 subrules
Adds new subrule to builder. Same as subRule
but for 2 subrules
- Inherited from:
- PolicySyntax
- Source:
- PolicySyntax.scala
Adds new subrule to builder. Uses selector
to create jap.fields.Field, rules
are applied to that field
Adds new subrule to builder. Uses selector
to create jap.fields.Field, rules
are applied to that field
- Inherited from:
- PolicySyntax
- Source:
- PolicySyntax.scala
Returns subfield using selector
function to extract value and as path
Returns subfield using selector
function to extract value and as path
Example
scala> val request = Request(User("ann"))
scala> val field = Field.from(request)
val field: jap.fields.Field[Request] = request:Request(User(ann))
scala> field.sub(_.user.name)
val res1: jap.fields.Field[String] = request.user.name:ann
- Inherited from:
- FieldSyntax
- Source:
- FieldSyntax.scala
Returns jap.fields.Field that has provided value and infers its jap.fields.FieldPath from field selects
Returns jap.fields.Field that has provided value and infers its jap.fields.FieldPath from field selects
Example:
scala> val request = Request(User("ann"))
val request: Request = Request(User(ann))
scala> val field = Field.from(request.user.name)
val field: jap.fields.Field[String] = request.user.name:ann
- Inherited from:
- FieldSyntax
- Source:
- FieldSyntax.scala
Similar to Field.from
but drops first selector path
Similar to Field.from
but drops first selector path
Example:
scala> val request = Request(User("ann"))
val request: Request = Request(User(ann))
scala> val field = Field.sub(request.user.name)
val field: jap.fields.Field[String] = user.name:ann
- Inherited from:
- FieldSyntax
- Source:
- FieldSyntax.scala
Implicits
Inherited implicits
- Inherited from:
- BooleanSyntax
- Source:
- BooleanSyntax.scala
- Inherited from:
- IterableSyntax
- Source:
- IterableSyntax.scala
- Inherited from:
- MapSyntax
- Source:
- MapSyntax.scala
- Inherited from:
- OptionSyntax
- Source:
- OptionSyntax.scala
- Inherited from:
- OrderingSyntax
- Source:
- OrderingSyntax.scala
- Inherited from:
- RuleSyntax
- Source:
- RuleSyntax.scala
- Inherited from:
- RuleSyntax
- Source:
- RuleSyntax.scala