public static class ActionInvocationFacetViaMethod.InvocationResult extends Object
ActionInvocationFacetViaMethod.invoke(ObjectAdapter, ObjectAdapter[])| Modifier and Type | Method and Description |
|---|---|
static ActionInvocationFacetViaMethod.InvocationResult |
forActionNotInvoked() |
static ActionInvocationFacetViaMethod.InvocationResult |
forActionThatReturned(ObjectAdapter resultAdapter) |
ObjectAdapter |
getAdapter()
Returns the result, or null if either the action invocation returned null or
if the action was never invoked in the first place.
|
boolean |
getWhetherInvoked() |
public static ActionInvocationFacetViaMethod.InvocationResult forActionThatReturned(ObjectAdapter resultAdapter)
public static ActionInvocationFacetViaMethod.InvocationResult forActionNotInvoked()
public boolean getWhetherInvoked()
public ObjectAdapter getAdapter()
Use getWhetherInvoked() to distinguish between these two cases.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.