Class PrePostConditionInterceptor.PrePostConditionFetcher
- java.lang.Object
-
- jadex.bridge.service.component.interceptors.PrePostConditionInterceptor.PrePostConditionFetcher
-
- All Implemented Interfaces:
IValueFetcher
- Enclosing class:
- PrePostConditionInterceptor
public static class PrePostConditionInterceptor.PrePostConditionFetcher extends java.lang.Object implements IValueFetcher
Fetcher for pre and post condition. Supports $arg, $res and $res[-1], ...
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object[]
args
The arguments.protected java.lang.Object
currentarg
The current arguments.protected java.util.List<java.lang.Object>
ires
The intermediate results.protected java.lang.Object
result
The result.
-
Constructor Summary
Constructors Constructor Description PrePostConditionFetcher(java.lang.Object[] args, java.lang.Object currentarg, java.lang.Object result, java.util.List<java.lang.Object> ires)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
fetchValue(java.lang.String name)
Fetch a value via its name.java.lang.Object
fetchValue(java.lang.String name, java.lang.Object object)
-
-
-
Method Detail
-
fetchValue
public java.lang.Object fetchValue(java.lang.String name)
Description copied from interface:IValueFetcher
Fetch a value via its name.- Specified by:
fetchValue
in interfaceIValueFetcher
- Parameters:
name
- The name.- Returns:
- The value.
-
fetchValue
public java.lang.Object fetchValue(java.lang.String name, java.lang.Object object)
-
-