public Change create ( String name ) { Change plugin = getPlugin ( name ) ; if ( plugin == null ) { return null ; } try { return plugin . getClass ( ) . getConstructor ( ) . newInstance ( ) ; } catch ( Exception e ) { throw new UnexpectedLiquibaseException ( e ) ; } }
Create a new Change implementation for the given change name . The class of the constructed object will be the Change implementation with the highest priority . Each call to create will return a new instance of the Change .