org.jbpm.process.builder.dialect.java.javaRule.mvel Maven / Gradle / Ivy
@declare{"actionMethod"}
public static void @{methodName}(org.kie.api.runtime.process.ProcessContext kcontext@if{globals != empty},@end{} @foreach{type :globalTypes, identifier : globals} @{type} @{identifier} @end{","} @if{variables != empty},@end{} @foreach{type2 :variableTypes, identifier2 : variables} @{type2} @{identifier2} @end{","} ) throws Exception {
org.kie.api.runtime.process.ProcessContext context = kcontext;
@{text}
}
@end{}
@declare{"returnValueEvaluatorMethod"}
public static Object @{methodName}(org.kie.api.runtime.process.ProcessContext kcontext@if{globals != empty},@end{} @foreach{type : globalTypes, identifier : globals} @{type} @{identifier} @end{","} @if{variables != empty},@end{} @foreach{type2 :variableTypes, identifier2 : variables} @{type2} @{identifier2} @end{","} ) throws Exception {
org.kie.api.runtime.process.ProcessContext context = kcontext;
@{text}
}
@end{}