Interface FileRefactorCommitParser
-
- All Superinterfaces:
java.util.function.Function<java.lang.String,java.util.Optional<ClassRefactor>>
- All Known Implementing Classes:
ArtifactChangeRefactorCommitParser
,PackageAndArtifactChangeRefactorCommitParser
,PackageChangeRefactorCommitParser
public interface FileRefactorCommitParser extends java.util.function.Function<java.lang.String,java.util.Optional<ClassRefactor>>
Interface that defines a file refactor parser.
-
-
Method Summary
Static Methods Modifier and Type Method Description static java.lang.String
buildClassName(java.lang.String rootPackageName, java.lang.String packageNameSuffix, java.lang.String className)
Builds a class name given some parts.static java.lang.String
extractPackageOrClassName(java.lang.String string)
Extracts a package or class name from a string which may containsrc/main/java/
orsrc/test/java/
-
-
-
Method Detail
-
extractPackageOrClassName
static java.lang.String extractPackageOrClassName(java.lang.String string)
Extracts a package or class name from a string which may containsrc/main/java/
orsrc/test/java/
-
buildClassName
static java.lang.String buildClassName(java.lang.String rootPackageName, java.lang.String packageNameSuffix, java.lang.String className)
Builds a class name given some parts.
-
-