Interface JarProcessor

All Known Implementing Classes:
AccessWidenerJarProcessor, TransitiveAccessWidenerJarProcessor

public interface JarProcessor
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns a unique ID for this jar processor, containing all configuration details.
    boolean
    isInvalid​(File file)
    Return true to make all jar processors run again, return false to use the existing results of jar processing.
    void
    process​(File file)
    Currently this is a destructive process that replaces the existing jar.
    void
     
  • Method Details

    • getId

      default String getId()
      Returns a unique ID for this jar processor, containing all configuration details.

      If the jar processor implementation class supports creating multiple jar processors with different effects, the needed configuration should also be included in this ID. Example: path.to.MyJarProcessor#someOption.

      Returns:
      the ID of this jar processor
    • setup

      void setup()
    • process

      void process(File file)
      Currently this is a destructive process that replaces the existing jar.
    • isInvalid

      boolean isInvalid(File file)
      Return true to make all jar processors run again, return false to use the existing results of jar processing.