Package org.apache.tapestry5.versionmigrator

## Interface FileRefactorCommitParser

- All Superinterfaces:
    `Function<String,​Optional<ClassRefactor>>`
  All Known Implementing Classes:
    `ArtifactChangeRefactorCommitParser`, `PackageAndArtifactChangeRefactorCommitParser`, `PackageChangeRefactorCommitParser`

      public interface FileRefactorCommitParser
      extends Function<String,​Optional<ClassRefactor>>

  Interface that defines a file refactor parser.

- - ### Method Summary

    Static Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | `buildClassName​(String rootPackageName, String packageNameSuffix, String className)` | Builds a class name given some parts.
    `static String` | `extractPackageOrClassName​(String string)` | Extracts a package or class name from a string which may contain `src/main/java/` or `src/test/java/`

    - ### Methods inherited from interface java.util.function.Function

      `andThen, apply, compose`

- - ### Method Detail

    - #### extractPackageOrClassName

          static String extractPackageOrClassName​(String string)

      Extracts a package or class name from a string which may contain `src/main/java/` or `src/test/java/`

    - #### buildClassName

          static String buildClassName​(String rootPackageName,
                                       String packageNameSuffix,
                                       String className)

      Builds a class name given some parts.