Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProcessGeneratedGraalResourceFilesAction

        public ProcessGeneratedGraalResourceFilesAction​(org.gradle.api.provider.Provider<org.gradle.api.file.Directory> inputDirectory,
                                                        org.gradle.api.provider.ListProperty<java.lang.String> filterableEntries)
    • Method Detail

      • execute

        public void execute​(org.gradle.api.Task task)
        Specified by:
        execute in interface org.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