Package org.apache.tapestry5.versionmigrator.internal

# Class PackageAndArtifactChangeRefactorCommitParser

java.lang.Object
org.apache.tapestry5.versionmigrator.internal.PackageAndArtifactChangeRefactorCommitParser

All Implemented Interfaces:
  `Function<String,Optional<ClassRefactor>>`, `FileRefactorCommitParser`

public class PackageAndArtifactChangeRefactorCommitParser extends Object implements FileRefactorCommitParser
Parses lines like this, in which both artifact and package are changed: `{tapestry-ioc/src/main/java/org/apache/tapestry5/ioc => commons/src/main/java/org/apache/tapestry5/commons}/ObjectProvider.java`.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `EXAMPLE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PackageAndArtifactChangeRefactorCommitParser()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Optional<ClassRefactor>`
  `apply(String line)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

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

  `andThen, compose`

- ## Field Details

  - ### EXAMPLE

    public static final String EXAMPLE
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### PackageAndArtifactChangeRefactorCommitParser

    public PackageAndArtifactChangeRefactorCommitParser()

- ## Method Details

  - ### apply

    public Optional<ClassRefactor> apply(String line)
    Specified by:
      `apply` in interface `Function<String,Optional<ClassRefactor>>`