private void transform(Version targetVersion) throws TransformationException, InvalidSequenceException {
	tracker.open(configuration);
	try {
	    List<ComponentTransformator> allTransformators = new ArrayList<>(Transformators.getAll());
	    sortTransformatorsByDependencies(allTransformators);
	    logInfo("The following component transformators will be run in order:");
	    for (int i = 0; i < allTransformators.size(); ++i) {
		ComponentTransformator transformator = allTransformators.get(i);
		logInfo(MessageFormat.format("{0}) " + transformator.getComponentName(), i + 1));
	    }
	    for (ComponentTransformator transformator : allTransformators) {
		runTransformator(transformator, targetVersion);
	    }
	} finally {
	    tracker.close();
	}
    }
private void transform ( Version targetVersion ) throws TransformationException , InvalidSequenceException { tracker . open ( configuration ) ; try { List < ComponentTransformator > allTransformators = new ArrayList < > ( Transformators . getAll ( ) ) ; sortTransformatorsByDependencies ( allTransformators ) ; logInfo ( "The following component transformators will be run in order:" ) ; for ( int i = 0 ; i < allTransformators . size ( ) ; ++ i ) { ComponentTransformator transformator = allTransformators . get ( i ) ; logInfo ( MessageFormat . format ( "{0}) " + transformator . getComponentName ( ) , i + 1 ) ) ; } for ( ComponentTransformator transformator : allTransformators ) { runTransformator ( transformator , targetVersion ) ; } } finally { tracker . close ( ) ; } }
@param targetVersion
is the version to which the transformations shall take place.
@throws TransformationException
is thrown in case of transformation issues.
@throws InvalidSequenceException
is thrown in case the sequences do not provide a valid
migration model.