Class ClosureAdapter<T>

java.lang.Object
org.openehealth.ipf.platform.camel.core.closures.ClosureAdapter<T>
Direct Known Subclasses:
DelegatingAggregationStrategy, DelegatingExpression, DelegatingPredicate, DelegatingProcessor, DelegatingTransmogrifier, DelegatingValidator

public abstract class ClosureAdapter<T> extends Object
Base class for concrete closure adapters.
Author:
Martin Krasser
  • Constructor Details

    • ClosureAdapter

      public ClosureAdapter(Closure<T> closure)
  • Method Details

    • getClosure

      public Closure<T> getClosure()
    • call

      public T call(Object... args)
    • callClosure

      public static <T> T callClosure(Closure<T> closure, Object... args)