public abstract class LombokConfig extends DefaultTask implements LombokTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
LombokConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
exec() |
protected Set<File> |
getConfigFiles() |
protected abstract ExecOperations |
getExecOperations() |
protected abstract FileSystemOperations |
getFileSystemOperations() |
abstract Property<Boolean> |
getFork() |
abstract Property<Boolean> |
getGenerate()
Generates a list containing all the available configuration parameters.
|
protected List<String> |
getInputPaths() |
abstract ListProperty<String> |
getKeys()
Limit the result to these keys.
|
abstract Property<JavaLauncher> |
getLauncher()
The
JavaLauncher which will be used to invoke lombok. |
abstract ConfigurableFileCollection |
getLombokClasspath() |
abstract Property<Boolean> |
getNotMentioned()
Also display files that don't mention the key.
|
abstract RegularFileProperty |
getOutputFile() |
abstract ConfigurableFileCollection |
getPaths()
Paths to java files or directories the configuration is to be printed for.
|
abstract Property<Boolean> |
getVerbose()
Displays more information.
|
protected abstract WorkerExecutor |
getWorkerExecutor() |
compareTo, 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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServicecompareTogetExtensions@Inject protected abstract WorkerExecutor getWorkerExecutor()
@Inject protected abstract FileSystemOperations getFileSystemOperations()
@Inject protected abstract ExecOperations getExecOperations()
@Optional public abstract Property<JavaLauncher> getLauncher()
LombokTaskJavaLauncher which will be used to invoke lombok.getLauncher in interface LombokTaskJavaToolchainService.launcherFor(JavaToolchainSpec),
JavaToolchainService.launcherFor(Action)@Classpath public abstract ConfigurableFileCollection getLombokClasspath()
getLombokClasspath in interface LombokTask@Input public abstract Property<Boolean> getGenerate()
@Input public abstract Property<Boolean> getNotMentioned()
@Input @Optional public abstract ListProperty<String> getKeys()
@Internal public abstract ConfigurableFileCollection getPaths()
@OutputFile public abstract RegularFileProperty getOutputFile()
@InputFiles @Optional @Nullable @PathSensitive(value=ABSOLUTE) protected Set<File> getConfigFiles()
public void exec()
throws IOException
IOException