Class ProjectConfig
java.lang.Object
com.inductiveautomation.perspective.gateway.config.ProjectConfig
- Direct Known Subclasses:
ProjectDiff
The ProjectConfig class is
Gson
serializable model used by the gateway to represent a saveable Perspective
client state for a given Perspective module Project.-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
All the view config objects associated with this project. -
Constructor Summary
ConstructorsConstructorDescriptionProjectConfig
(Project project, Map<String, ViewConfig> views, PermissionsConfig permissions, PerspectiveProjectProps projectProps, PagesConfig pageConfig, SessionPropsConfig sessionProps, IdleTimeoutProps idleProps, SymbolPropConfig symbolProps, Map<String, KeyEvent> keyEvents, ComponentRegistry componentRegistry) ProjectConfig
(String projectName, String projectTitle, String projectDescription, Map<String, ViewConfig> views, PermissionsConfig permissions, PerspectiveProjectProps projectProps, PagesConfig pageConfig, SessionPropsConfig sessionProps, IdleTimeoutProps idleProps, SymbolPropConfig symbolProps, Map<String, KeyEvent> keyEvents, ComponentRegistry componentRegistry, LastModification lastModification) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<LastModification>
getLastModification
(Project project)
-
Field Details
-
name
-
title
-
description
-
lastModified
public long lastModified -
lastModifiedBy
-
views
All the view config objects associated with this project. This is a complete list at the time of startup, and includes configuration objects for views that may not be currently active/instantiated on the client side. -
permissions
-
props
-
pageConfig
-
sessionProps
-
idleProps
-
symbolProps
-
keyEvents
-
componentResources
-
-
Constructor Details
-
ProjectConfig
public ProjectConfig() -
ProjectConfig
public ProjectConfig(Project project, Map<String, ViewConfig> views, PermissionsConfig permissions, PerspectiveProjectProps projectProps, PagesConfig pageConfig, SessionPropsConfig sessionProps, IdleTimeoutProps idleProps, SymbolPropConfig symbolProps, Map<String, KeyEvent> keyEvents, ComponentRegistry componentRegistry) -
ProjectConfig
public ProjectConfig(String projectName, String projectTitle, String projectDescription, Map<String, ViewConfig> views, PermissionsConfig permissions, PerspectiveProjectProps projectProps, PagesConfig pageConfig, SessionPropsConfig sessionProps, IdleTimeoutProps idleProps, SymbolPropConfig symbolProps, Map<String, KeyEvent> keyEvents, ComponentRegistry componentRegistry, LastModification lastModification)
-
-
Method Details
-
findView
-
getLastModification
-