Class WebAppManifest

    • Constructor Detail

      • WebAppManifest

        public WebAppManifest()
    • Method Detail

      • getName

        public final String getName()
        Returns the name of the web app.
        Returns:
        the name, or null if not specified
      • setName

        public final void setName​(String value)
        Sets the name of the web app.
        Parameters:
        value - the new name
      • getShortName

        public final String getShortName()
        Returns the short name of the web app.
        Returns:
        the short name, or null if not specified
      • setShortName

        public final void setShortName​(String value)
        Sets the short name of the web app.
        Parameters:
        value - the new short name
      • getIcons

        public final ImageResource[] getIcons()
        Returns the icons of the web app.
        Returns:
        the icons, or null if not specified
      • setIcons

        public final void setIcons​(ImageResource[] value)
        Sets the icons of the web app.

        Each element must not be null.

        Parameters:
        value - the new icons
      • toJsonObject

        public final javax.json.JsonObject toJsonObject()
        Returns a JSON object that represents this manifest.
        Returns:
        a JSON object
      • copy

        public WebAppManifest copy()
        Creates and returns a copy of this object.
        Returns:
        a copy of this object