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
CannotConvertException
public boolean isModuleConversionNeeded(java.nio.file.Path moduleFile) throws CannotConvertException
CannotConvertException
public java.util.Collection<java.nio.file.Path> getCreatedFiles()
public java.util.Set<java.nio.file.Path> getAffectedFiles()
public void preProcess() throws CannotConvertException
CannotConvertException
public void process() throws CannotConvertException
CannotConvertException
public void postProcess() throws CannotConvertException
CannotConvertException
public 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