org.springframework.rules.factory
Class Closures
java.lang.Object
org.springframework.core.closure.support.AlgorithmsAccessor
org.springframework.rules.factory.Closures
public class Closures
- extends AlgorithmsAccessor
A factory for easing the construction and composition of closure (blocks of
executable code).
- Author:
- Keith Donald
Methods inherited from class org.springframework.core.closure.support.AlgorithmsAccessor |
allTrue, allTrue, anyTrue, anyTrue, findAll, findAll, findFirst, findFirst, forEach, forEach, getAlgorithms |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Closures
public Closures()
instance
public static Closures instance()
load
public static void load(Closures sharedInstance)
chain
public Closure chain(Closure firstFunction,
Closure secondFunction)
chain
public Closure chain(Closure[] functionsToChain)
ifTrue
public Closure ifTrue(Constraint constraint,
Closure closure)
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.