Class PackageChangeRefactorCommitParser
- java.lang.Object
-
- org.apache.tapestry5.versionmigrator.internal.PackageChangeRefactorCommitParser
-
- All Implemented Interfaces:
java.util.function.Function<java.lang.String,java.util.Optional<ClassRefactor>>
,FileRefactorCommitParser
public class PackageChangeRefactorCommitParser extends java.lang.Object implements FileRefactorCommitParser
Parses lines like this, in which just the package is changed:commons/src/main/java/org/apache/tapestry5/{ioc => commons}/Messages.java (98%)
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXAMPLE
-
Constructor Summary
Constructors Constructor Description PackageChangeRefactorCommitParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<ClassRefactor>
apply(java.lang.String line)
-
-
-
Field Detail
-
EXAMPLE
public static final java.lang.String EXAMPLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PackageChangeRefactorCommitParser
public PackageChangeRefactorCommitParser()
-
-
Method Detail
-
apply
public java.util.Optional<ClassRefactor> apply(java.lang.String line)
- Specified by:
apply
in interfacejava.util.function.Function<java.lang.String,java.util.Optional<ClassRefactor>>
-
-