Class ManifestResource

java.lang.Object
io.helidon.codegen.ManifestResource

public class ManifestResource extends Object
Support for Helidon manifest file, that lists all manifest resources on the classpath.
  • Method Details

    • create

      public static ManifestResource create(CodegenFiler filer)
      Create a new instance from the current filer.
      Parameters:
      filer - filer to find the file, and to write it
      Returns:
      a new instance of the manifest resource
    • add

      public void add(String resourceLocation)
      Add a new resource location to the manifest.
      Parameters:
      resourceLocation - resource location to add
    • write

      public void write()
      Write the manifest resource to the file system if modified.