Class ChunkInfo

java.lang.Object
com.vaadin.flow.server.frontend.scanner.ChunkInfo

public class ChunkInfo extends Object
Identifier for a chunk or part of the JS bundle.

Each chunk can be loaded at a separate time. Chunks marked as eager are loaded immediately when the JS bundle is loaded while chunks marked as not eager (i.e. lazy) are loaded on demand later.

There is one special, global chunk, defined as GLOBAL in this class, which is used for gathering all data that relates to internal entry points.

For internal use only. May be renamed or removed in a future release.

  • Field Details

    • GLOBAL

      public static final ChunkInfo GLOBAL
  • Constructor Details

  • Method Details

    • getType

      public EntryPointType getType()
    • getName

      public String getName()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getDependencyTriggers

      public List<String> getDependencyTriggers()
    • isEager

      public boolean isEager()