Class ProcessGeneratedGraalResourceFilesAction
- java.lang.Object
-
- org.graalvm.buildtools.gradle.tasks.actions.ProcessGeneratedGraalResourceFilesAction
-
- All Implemented Interfaces:
org.gradle.api.Action<org.gradle.api.Task>
public class ProcessGeneratedGraalResourceFilesAction extends java.lang.Object implements org.gradle.api.Action<org.gradle.api.Task>
This task is responsible for processing the JSON files generated by the GraalVM agent, in particular to filter out entries which are inherited from the Gradle environment itself.
-
-
Constructor Summary
Constructors Constructor Description ProcessGeneratedGraalResourceFilesAction(org.gradle.api.provider.Provider<org.gradle.api.file.Directory> inputDirectory, org.gradle.api.provider.ListProperty<java.lang.String> filterableEntries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(org.gradle.api.Task task)
protected void
processFile(java.io.File file)
protected void
processJsonFile(java.io.File jsonFile)
-
-
-
Method Detail
-
execute
public void execute(org.gradle.api.Task task)
- Specified by:
execute
in interfaceorg.gradle.api.Action<org.gradle.api.Task>
-
processFile
protected void processFile(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
processJsonFile
protected void processJsonFile(java.io.File jsonFile) throws java.io.IOException
- Throws:
java.io.IOException
-
-