public class MethodResult extends Object
MethodResult
conveys the return value of one of the
activate, modify, and deactivate methods.
Note that the method returning null
or being defined as
void
is not the same thing. If the method returns
null
an instance of this class is returned whose
getResult()
method returns null
. If the method is
defined as void
the special instance VOID
is returned.
Modifier and Type | Field and Description |
---|---|
static MethodResult |
REACTIVATE
Predefined instance indicating to reactivate the component.
|
static MethodResult |
VOID
Predefined instance indicating a successful call to a void method.
|
Constructor and Description |
---|
MethodResult(boolean hasResult,
Map<String,Object> result) |
public static final MethodResult VOID
public static final MethodResult REACTIVATE
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.