Package Torello.Browser
Class Page.InstallabilityError
- java.lang.Object
-
- Torello.Java.Additional.BaseType
-
- Torello.Browser.Page.InstallabilityError
-
- Enclosing class:
- Page
public static class Page.InstallabilityError extends BaseType
The installability error
EXPERIMENTAL
Hi-Lited Source-Code:- View Here: Torello/Browser/Page.java
- Open New Browser-Tab: Torello/Browser/Page.java
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Type Properties Modifier and Type Field Page.InstallabilityErrorArgument[]
errorArguments
The list of error arguments (e.g.String
errorId
The error id (e.g.
-
Constructor Summary
Constructors Constructor Description InstallabilityError(String errorId, Page.InstallabilityErrorArgument[] errorArguments)
ConstructorInstallabilityError(JsonObject jo)
JSON Object Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
errorId
public final java.lang.String errorId
The error id (e.g. 'manifest-missing-suitable-icon').
-
errorArguments
public final Page.InstallabilityErrorArgument[] errorArguments
The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'}).
-
-
Constructor Detail
-
InstallabilityError
public InstallabilityError (java.lang.String errorId, Page.InstallabilityErrorArgument[] errorArguments)
Constructor- Parameters:
errorId
- The error id (e.g. 'manifest-missing-suitable-icon').errorArguments
- The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'}).
-
InstallabilityError
public InstallabilityError(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'InstallabilityError'
.
-
-
Method Detail
-
optionals
public boolean[] optionals()
Description copied from class:BaseType
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding aJsonObject
to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array positionTRUE
.
NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
-
-