public boolean migrate ( Version targetVersion ) { printRunHeader ( "MIGRATE" ) ; StopWatch stopWatch = new StopWatch ( ) ; stopWatch . start ( ) ; boolean success = false ; try { transform ( targetVersion ) ; success = true ; } catch ( TransformationException | InvalidSequenceException e ) { e . printStackTrace ( System . err ) ; } stopWatch . stop ( ) ; printRunFooter ( success , stopWatch ) ; return success ; }
Runs the migration to a specified version .