* @author Erik Brakkee
*
*/
-public class Transformations {
+public class TransformationPaths {
private Map<Id<Transformation>, Transformation> transformations;
private List<String> vertices;
/**
* Construct the transformations.
*/
- public Transformations() {
+ public TransformationPaths() {
transformations = new LinkedHashMap<Id<Transformation>, Transformation>();
vertices = new ArrayList<String>();
matrix = new TransformationPath[0][0];
private AtomicLong nextEventId;
private ExtendedRouterConfig routerConfig;
- private Transformations transformations;
+ private TransformationPaths transformations;
private Map<Id<Destination>, Destination> destinations;
clock = aClock;
nextEventId = new AtomicLong(clock.currentTimeMillis());
routerConfig = new SingleRouterConfig(sequenceNumbers);
- transformations = new Transformations();
+ transformations = new TransformationPaths();
destinations = new LinkedHashMap<Id<Destination>, Destination>();
}
import org.wamblee.xmlrouter.common.Id;
import org.wamblee.xmlrouter.config.Transformation;
-public class TransformationsTest {
+public class TransformationPathsTest {
public static class MyTransformation implements Transformation {
}
}
- private Transformations transformations;
+ private TransformationPaths transformations;
@Before
public void setUp() {
- transformations = new Transformations();
+ transformations = new TransformationPaths();
}
private Map<Id<Transformation>, Transformation> createTransformations(