public class InteractionResultSet extends Object
| Constructor and Description |
|---|
InteractionResultSet() |
| Modifier and Type | Method and Description |
|---|---|
InteractionResultSet |
add(InteractionResult result) |
Consent |
createConsent()
Returns the
Consent corresponding to
getInteractionResult(), or an Allow if there have been
no InteractionResults added. |
InteractionResult |
getInteractionResult()
Returns the "best" contained
InteractionResult. |
boolean |
isAllowed()
|
boolean |
isVetoed()
|
String |
toString() |
public InteractionResultSet()
public InteractionResultSet add(InteractionResult result)
public boolean isAllowed()
public boolean isVetoed()
public Consent createConsent()
Consent corresponding to
getInteractionResult(), or an Allow if there have been
no InteractionResults added.public InteractionResult getInteractionResult()
InteractionResult.
This will be the first InteractionResult that has vetoed the
interaction, or the first InteractionResult
added if none have vetoed.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.