Class Delombok
- java.lang.Object
- 
- org.gradle.api.internal.AbstractTask
- 
- org.gradle.api.DefaultTask
- 
- io.freefair.gradle.plugins.lombok.tasks.Delombok
 
 
 
- 
- All Implemented Interfaces:
- LombokTask,- Comparable<Task>,- org.gradle.api.internal.DynamicObjectAware,- org.gradle.api.internal.TaskInternal,- ExtensionAware,- Task,- Configurable<Task>
 
 @CacheableTask public class Delombok extends DefaultTask implements LombokTask Applies lombok transformations without compiling your java code (so, 'unpacks' lombok annotations and such).
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.gradle.api.TaskTask.Namer
 
- 
 - 
Field Summary- 
Fields inherited from interface org.gradle.api.TaskTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description Delombok(FileSystemOperations fileSystemOperations, ExecOperations execOperations)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelombok()ConfigurableFileCollectiongetBootclasspath()override Bootclasspath (analogous to javac -bootclasspath option)ConfigurableFileCollectiongetClasspath()Classpath (analogous to javac -cp option).Property<String>getEncoding()Sets the encoding of your source files.protected FileTreegetFilteredInput()Map<String,String>getFormat()Sets formatting rules.ConfigurableFileCollectiongetInput()Property<JavaLauncher>getLauncher()TheJavaLauncherwhich will be used to invoke lombok.ConfigurableFileCollectiongetLombokClasspath()ConfigurableFileCollectiongetModulePath()Module path (analogous to javac --module-path option)Property<Boolean>getNocopy()Lombok will only delombok source files.Property<Boolean>getPrint()Print delombok-ed code to standard output instead of saving it in target directory.Property<Boolean>getQuiet()No warnings or errors will be emitted to standard error.ConfigurableFileCollectiongetSourcepath()Sourcepath (analogous to javac -sourcepath option).DirectoryPropertygetTarget()Directory to save delomboked files to.Property<Boolean>getVerbose()Print the name of each file as it is being delombok-ed.voidsetFormat(Map<String,String> format)Sets formatting rules.- 
Methods inherited from class org.gradle.api.DefaultTaskcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
 - 
Methods inherited from class org.gradle.api.internal.AbstractTaskappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.ComparablecompareTo
 - 
Methods inherited from interface org.gradle.api.plugins.ExtensionAwaregetExtensions
 - 
Methods inherited from interface org.gradle.api.Taskconfigure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getPath, getProject, getShouldRunAfter, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
 
- 
 
- 
- 
- 
Constructor Detail- 
Delombok@Inject public Delombok(FileSystemOperations fileSystemOperations, ExecOperations execOperations) 
 
- 
 - 
Method Detail- 
getFilteredInput@InputFiles @PathSensitive(RELATIVE) @SkipWhenEmpty @IgnoreEmptyDirectories protected FileTree getFilteredInput() 
 - 
delombokpublic void delombok() throws IOException- Throws:
- IOException
 
 - 
getLauncherpublic Property<JavaLauncher> getLauncher() Description copied from interface:LombokTaskTheJavaLauncherwhich will be used to invoke lombok.- Specified by:
- getLauncherin interface- LombokTask
- See Also:
- JavaToolchainService.launcherFor(JavaToolchainSpec),- JavaToolchainService.launcherFor(Action)
 
 - 
getVerbosepublic Property<Boolean> getVerbose() Print the name of each file as it is being delombok-ed.
 - 
getFormatpublic Map<String,String> getFormat() Sets formatting rules. Use --format-help to list all available rules. Unset format rules are inferred by scanning the source for usages.
 - 
getQuietpublic Property<Boolean> getQuiet() No warnings or errors will be emitted to standard error.
 - 
getEncodingpublic Property<String> getEncoding() Sets the encoding of your source files. Defaults to the system default charset. Example: "UTF-8"
 - 
getPrintpublic Property<Boolean> getPrint() Print delombok-ed code to standard output instead of saving it in target directory.
 - 
getTargetpublic DirectoryProperty getTarget() Directory to save delomboked files to.
 - 
getClasspathpublic ConfigurableFileCollection getClasspath() Classpath (analogous to javac -cp option).
 - 
getSourcepathpublic ConfigurableFileCollection getSourcepath() Sourcepath (analogous to javac -sourcepath option).
 - 
getBootclasspathpublic ConfigurableFileCollection getBootclasspath() override Bootclasspath (analogous to javac -bootclasspath option)
 - 
getModulePathpublic ConfigurableFileCollection getModulePath() Module path (analogous to javac --module-path option)
 - 
getNocopypublic Property<Boolean> getNocopy() Lombok will only delombok source files. Without this option, non-java, non-class files are copied to the target directory.
 - 
getLombokClasspathpublic ConfigurableFileCollection getLombokClasspath() - Specified by:
- getLombokClasspathin interface- LombokTask
 
 - 
getInputpublic ConfigurableFileCollection getInput() 
 
- 
 
-