public class ConversionRunner
extends java.lang.Object
| Constructor and Description |
|---|
ConversionRunner(ConverterProvider provider,
ConversionContextImpl context) |
| Modifier and Type | Method and Description |
|---|---|
void |
convertModule(java.nio.file.Path moduleFile) |
java.util.Set<java.nio.file.Path> |
getAffectedFiles() |
java.util.Collection<java.nio.file.Path> |
getCreatedFiles() |
ConverterProvider |
getProvider() |
static java.util.List<java.nio.file.Path> |
getReadOnlyFiles(java.util.Collection<? extends java.nio.file.Path> affectedFiles) |
boolean |
isConversionNeeded() |
boolean |
isModuleConversionNeeded(java.nio.file.Path moduleFile) |
void |
postProcess() |
void |
preProcess() |
void |
process() |
public ConversionRunner(ConverterProvider provider, ConversionContextImpl context)
public boolean isConversionNeeded()
throws CannotConvertException
CannotConvertExceptionpublic boolean isModuleConversionNeeded(java.nio.file.Path moduleFile)
throws CannotConvertException
CannotConvertExceptionpublic java.util.Collection<java.nio.file.Path> getCreatedFiles()
public java.util.Set<java.nio.file.Path> getAffectedFiles()
public void preProcess()
throws CannotConvertException
CannotConvertExceptionpublic void process()
throws CannotConvertException
CannotConvertExceptionpublic void postProcess()
throws CannotConvertException
CannotConvertExceptionpublic ConverterProvider getProvider()
public static java.util.List<java.nio.file.Path> getReadOnlyFiles(java.util.Collection<? extends java.nio.file.Path> affectedFiles)
public void convertModule(java.nio.file.Path moduleFile)
throws CannotConvertException
CannotConvertException