public class BindingResult extends Object
BindingFunction
. It is
effectively a Desire
with additional metadata needed to implement
certain features within the dependency solver.Modifier and Type | Class and Description |
---|---|
static class |
BindingResult.Builder |
Modifier and Type | Method and Description |
---|---|
CachePolicy |
getCachePolicy() |
Desire |
getDesire() |
boolean |
isDeferred() |
boolean |
isFixed()
Query if the binding result is fixed.
|
boolean |
isSkippable()
Query whether this binding result should be skipped when one of its dependencies fails.
|
static BindingResult.Builder |
newBuilder() |
static BindingResult.Builder |
newBuilder(Desire desire,
CachePolicy policy) |
boolean |
terminates() |
public static BindingResult.Builder newBuilder()
public static BindingResult.Builder newBuilder(Desire desire, CachePolicy policy)
public Desire getDesire()
public CachePolicy getCachePolicy()
public boolean isFixed()
true
if the resulting satisfaction should refuse to be rewritten.public boolean isDeferred()
public boolean terminates()
public boolean isSkippable()
true
if this binding result should be skipped if one of its dependencies fails.Copyright © 2016 GroupLens Research. All rights reserved.