Package | Description |
---|---|
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMAConstraint[] |
CMAConstraint.getAnd()
Which constraints have to be all satisfied?
|
CMAConstraint |
CMAPolicy.getConstraint() |
CMAConstraint[] |
CMAConstraint.getNot()
Which constraints do need to be not satisfied?
|
CMAConstraint[] |
CMAConstraint.getOr()
Which array of constraints where only one needs to be satisfied?
|
CMAConstraint |
CMAConstraint.setAnd(CMAConstraint... and)
Set a new constraints which have all to be satisfied.
|
CMAConstraint |
CMAConstraint.setEquals(CMAConstraint.Equals equals)
Update the condition to be satisfied to satisfy this constraint.
|
CMAConstraint |
CMAConstraint.setFieldKeyPaths(CMAConstraint.FieldKeyPath... fieldKeyPaths)
Set the array of fieldKeyPaths to be used.
|
CMAConstraint |
CMAConstraint.setNot(CMAConstraint... not)
Set a new array of constraints which must not be satisfied.
|
CMAConstraint |
CMAConstraint.setOr(CMAConstraint... or)
Set a new list of constraints where only one be satisfied.
|
Modifier and Type | Method and Description |
---|---|
CMAConstraint |
CMAConstraint.setAnd(CMAConstraint... and)
Set a new constraints which have all to be satisfied.
|
CMAPolicy |
CMAPolicy.setConstraint(CMAConstraint constraint)
Set the constraint to be used.
|
CMAConstraint |
CMAConstraint.setNot(CMAConstraint... not)
Set a new array of constraints which must not be satisfied.
|
CMAConstraint |
CMAConstraint.setOr(CMAConstraint... or)
Set a new list of constraints where only one be satisfied.
|
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.