-
public class InPlaceConfig extends Config
Represents a set of action (configuration) that operates directly on same files (not copied).
-
-
Field Summary
Fields Modifier and Type Field Description private final StringsourcePathprivate final StringtargetPathprivate final Projectprojectprivate final Property<String>descriptionprivate final DirectoryPropertycacheDirprivate final Property<String>cacheNameprivate final List<Rule>rulesprivate final Map<String, PropertyPrompt>promptsprivate final Map<String, String>promptedPropertiesprivate final List<Property>definedPropertiesprivate final FilesourceDirprivate final FileTreesourceTreeprivate final FiletargetDirprivate final FileTreetargetTreeprivate final ListProperty<String>textFilesprivate final ListProperty<String>executableFilesprivate final ListProperty<String>textIgnoredFilesprivate final DirectoryPropertytemplateDirprivate final TemplateEnginetemplateEngineprivate FilepropsFileprivate final FilepreviousPropsFileprivate final Loggerloggerprivate final ForkExtensionforkprivate final Stringname
-
Constructor Summary
Constructors Constructor Description InPlaceConfig(ForkExtension forkExtension, String name)
-
Method Summary
Modifier and Type Method Description StringgetSourcePath()StringgetTargetPath()final ProjectgetProject()final Property<String>getDescription()final DirectoryPropertygetCacheDir()final Property<String>getCacheName()final List<Rule>getRules()final Map<String, PropertyPrompt>getPrompts()final Map<String, String>getPromptedProperties()final List<Property>getDefinedProperties()final FilegetSourceDir()final FileTreegetSourceTree()final FilegetTargetDir()final FileTreegetTargetTree()final ListProperty<String>getTextFiles()final ListProperty<String>getExecutableFiles()final ListProperty<String>getTextIgnoredFiles()final DirectoryPropertygetTemplateDir()final TemplateEnginegetTemplateEngine()final FilegetPropsFile()final FilegetPreviousPropsFile()final LoggergetLogger()final ForkExtensiongetFork()final StringgetName()final UnitsetPropsFile(File propsFile)-
Methods inherited from class com.neva.gradle.fork.config.InPlaceConfig
action, action, cloneFiles, cloneFiles, convertProperties, copyTemplateFile, copyTemplateFile, copyTemplateFiles, eachFiles, eachFiles, eachFiles, eachTextFiles, eachTextFiles, eachTextFiles, evaluate, execute, findTemplateFile, getSourceFile, getTargetFile, makeFilesExecutable, moveFile, moveFiles, promptDynamicProperties, promptFill, promptFillCommandLine, promptFillGui, promptFillPropertiesFile, promptPostProcess, promptPreProcess, promptProp, promptProp, promptSavePropertiesFile, promptTemplate, promptValidate, propsDefine, removeEmptyDirs, removeFile, removeFiles, removeText, removeTexts, renderTemplate, replaceContent, replaceContents, replaceText, replaceTexts, replaceTexts, rule, rule, toString, validate -
Methods inherited from class com.neva.gradle.fork.config.Config
equals, hashCode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
InPlaceConfig
InPlaceConfig(ForkExtension forkExtension, String name)
-
-
Method Detail
-
getSourcePath
String getSourcePath()
-
getTargetPath
String getTargetPath()
-
getProject
final Project getProject()
-
getDescription
final Property<String> getDescription()
-
getCacheDir
final DirectoryProperty getCacheDir()
-
getCacheName
final Property<String> getCacheName()
-
getPrompts
final Map<String, PropertyPrompt> getPrompts()
-
getPromptedProperties
final Map<String, String> getPromptedProperties()
-
getDefinedProperties
final List<Property> getDefinedProperties()
-
getSourceDir
final File getSourceDir()
-
getSourceTree
final FileTree getSourceTree()
-
getTargetDir
final File getTargetDir()
-
getTargetTree
final FileTree getTargetTree()
-
getTextFiles
final ListProperty<String> getTextFiles()
-
getExecutableFiles
final ListProperty<String> getExecutableFiles()
-
getTextIgnoredFiles
final ListProperty<String> getTextIgnoredFiles()
-
getTemplateDir
final DirectoryProperty getTemplateDir()
-
getTemplateEngine
final TemplateEngine getTemplateEngine()
-
getPropsFile
final File getPropsFile()
-
getPreviousPropsFile
final File getPreviousPropsFile()
-
getFork
final ForkExtension getFork()
-
setPropsFile
final Unit setPropsFile(File propsFile)
-
-
-
-