Record Class AppDirectory.Source

java.lang.Object
java.lang.Record
com.iizix.server.app.AppDirectory.Source
Record Components:
app - The App, null for none: the pages keep their head, there is no manifest and no icon, and the offline page is named after the application ID.
pwa - The application's PWA properties, null when it has no .iiziPWA: its presence makes the application installable (AU-9), its icon references, category and orientation are read (Set I).
icons - What the icons are built from (PWAIcons.Sources: the master and the named icons' bytes, the module's asset files under PWA/ and iiziRun/icons/), null for none; used only for an installable application. The screenshots come from the same asset files.
devel - The development mode flag: the worker then caches nothing.
Enclosing class:
AppDirectory

public static record AppDirectory.Source(ModuleApp app, PWAProps pwa, PWAIcons.Sources icons, boolean devel) extends Record
What the generated files of a directory are made from (work order CC-PWA-V5E-APPDIR-PWA).
Author:
Christopher Mindus
  • Constructor Details

    • Source

      public Source(ModuleApp app, PWAProps pwa, PWAIcons.Sources icons, boolean devel)
      Creates an instance of a Source record class.
      Parameters:
      app - the value for the app record component
      pwa - the value for the pwa record component
      icons - the value for the icons record component
      devel - the value for the devel record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • app

      public ModuleApp app()
      Returns the value of the app record component.
      Returns:
      the value of the app record component
    • pwa

      public PWAProps pwa()
      Returns the value of the pwa record component.
      Returns:
      the value of the pwa record component
    • icons

      public PWAIcons.Sources icons()
      Returns the value of the icons record component.
      Returns:
      the value of the icons record component
    • devel

      public boolean devel()
      Returns the value of the devel record component.
      Returns:
      the value of the devel record component