public class ConstantFunctor extends CommonFunctor
IFunctor returning a constant value.| Constructor and Description |
|---|
ConstantFunctor(Object constant) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getConstant() |
Object |
perform(IFunctorCall call)
Perform the encapsulated business logic in the context defined in "call".
|
public ConstantFunctor(Object constant)
public Object getConstant()
public Object perform(IFunctorCall call) throws FunctorInvocationException
IFunctorcall - The call contextFunctorInvocationException - An exception that raised while executing the business logic
will be wrapped in a FunctorInvocationException.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.