public final class PolicyDecision extends Object
Constructor and Description |
---|
PolicyDecision(Decision... decisions)
Builds an immutable policy decision based on the given decisions list, not
null . |
PolicyDecision(List<Decision> decisions)
Builds an immutable policy decision based on the given decisions list, not
null . |
Modifier and Type | Method and Description |
---|---|
Optional<Decision> |
getDecision(String resource)
Returns the decision for a given resource name.
|
Collection<Decision> |
getDecisions()
Returns an unmodifiable collection of the decisions.
|
public PolicyDecision(Decision... decisions)
null
.decisions
- The decisions list returned by OpenAM.public Collection<Decision> getDecisions()
Copyright 2011-2017 ForgeRock AS.