Class PerspectiveProject
java.lang.Object
com.inductiveautomation.perspective.gateway.api.PerspectiveProject
A PerspectiveProject is a simple container of a 
ProjectConfig, concatenated compiled CSS style resources,
 and the Map of all style resource IDs to their compiled CSS in the Project. The Map of style
 resources should be considered immutable and could throw RuntimeExceptions if altered in
 any way. The combined styles String is automatically generated from the injected compiled resources Map.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classUsed to provide scripting access to some metadata about the project
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal booleanfinal Stringfinal Map<ProjectResourceId,String> final booleanfinal Stringfinal Stringfinal ProjectConfigfinal booleanfinal Stringfinal SystemEventsConfig
- 
Constructor SummaryConstructorsConstructorDescriptionPerspectiveProject(ProjectConfig projectConfig, boolean runnable, Map<ProjectResourceId, String> compiledStyles, SystemEventsConfig systemEvents, RuntimeProject.EffectiveProjectSnapshot snapshot, String idp, boolean forceIdpAuth, boolean autoIdpAuth, String stylesheet) 
- 
Method Summary
- 
Field Details- 
name
- 
runnablepublic final boolean runnable
- 
projectConfig
- 
compiledStyles
- 
combinedStyles
- 
systemEvents
- 
snapshot
- 
idp
- 
forceIdpAuthpublic final boolean forceIdpAuth
- 
autoIdpAuthpublic final boolean autoIdpAuth
- 
stylesheet
 
- 
- 
Constructor Details- 
PerspectiveProjectpublic PerspectiveProject(@Nonnull ProjectConfig projectConfig, boolean runnable, @Nonnull Map<ProjectResourceId, String> compiledStyles, @Nonnull SystemEventsConfig systemEvents, @Nonnull RuntimeProject.EffectiveProjectSnapshot snapshot, @Nullable String idp, boolean forceIdpAuth, boolean autoIdpAuth, @Nullable String stylesheet) 
 
- 
- 
Method Details- 
getStyleHash- Returns:
- a string that represents the uniqueness of the styles of this project.
 
- 
getSymbolStylesHash
- 
getIdp- Returns:
- the name of the default Identity Provider for this project
 
 
-