@atomist/sdm-pack-spring
Version:
Atomist software delivery machine extension pack for Spring and Spring Boot applications
13 lines (12 loc) • 660 B
TypeScript
import { CodeTransform } from "@atomist/sdm";
/**
* Move files from one package to another. Defaults to
* working on all Java and Kotlin source. Will work for Scala
* if you pass in the appropriate glob pattern to select the files you want.
*
* @param oldPackage name of package to move from
* @param newPackage name of package to move to
* @param globPattern glob to select files. Defaults to all Java files in the project
*/
export declare function movePackageTransform(oldPackage: string, newPackage: string, globPattern?: string): CodeTransform;
export declare function renameClassTransform(oldClass: string, newClass: string): CodeTransform;