Class PerspectiveModule
java.lang.Object
com.inductiveautomation.perspective.common.PerspectiveModule
Contains common configuration and const definitions for things like module ID, and also provides a registry for
 components.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final JsonSchemastatic final Stringstatic final JsonSchemastatic final JsonSchema
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic com.inductiveautomation.ignition.common.gson.GsonCreates a Gson instance with the correct type adapters registered to serialize and deserialize viewsstatic com.inductiveautomation.ignition.common.gson.GsoncreatePerspectiveCompatibleGson(Consumer<com.inductiveautomation.ignition.common.gson.GsonBuilder> customize) Creates a Gson instance with the correct type adapters registered to serialize and deserialize viewsstatic com.inductiveautomation.ignition.common.gson.JsonObjectstatic com.inductiveautomation.ignition.common.gson.JsonObjectstatic com.inductiveautomation.ignition.common.gson.JsonObjectstatic LoggerEx
- 
Field Details- 
MODULE_ID- See Also:
 
- 
LOG_PREFIX- See Also:
 
- 
SESSION_PROPS_SCHEMA
- 
VIEW_SCHEMA
- 
META_SCHEMA
 
- 
- 
Constructor Details- 
PerspectiveModulepublic PerspectiveModule()
 
- 
- 
Method Details- 
getLogger
- 
createPerspectiveCompatibleGson@Nonnull public static com.inductiveautomation.ignition.common.gson.Gson createPerspectiveCompatibleGson()Creates a Gson instance with the correct type adapters registered to serialize and deserialize views
- 
createPerspectiveCompatibleGson@Nonnull public static com.inductiveautomation.ignition.common.gson.Gson createPerspectiveCompatibleGson(Consumer<com.inductiveautomation.ignition.common.gson.GsonBuilder> customize) Creates a Gson instance with the correct type adapters registered to serialize and deserialize views
- 
defaultMetaPropspublic static com.inductiveautomation.ignition.common.gson.JsonObject defaultMetaProps()- Returns:
- the default object parsed from the common meta-schema resource.
 
- 
defaultViewPropspublic static com.inductiveautomation.ignition.common.gson.JsonObject defaultViewProps()- Returns:
- the default object parsed from the common view-props-schema resource.
 
- 
defaultSessionPropspublic static com.inductiveautomation.ignition.common.gson.JsonObject defaultSessionProps()- Returns:
- the default object parsed from the common session-props schema resource.
 
 
-