Class PerspectiveProject
- java.lang.Object
- 
- com.inductiveautomation.perspective.gateway.api.PerspectiveProject
 
- 
 public class PerspectiveProject extends java.lang.ObjectA PerspectiveProject is a simple container of aProjectConfig, concatenated compiled CSS style resources, and theMapof all style resource IDs to their compiled CSS in theProject. The Map of style resources should be considered immutable and could throwRuntimeExceptionsif altered in any way. The combined styles String is automatically generated from the injected compiled resources Map.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPerspectiveProject.SimplifiedGsonEncoderUsed to provide scripting access to some metadata about the project
 - 
Field SummaryFields Modifier and Type Field Description booleanautoIdpAuthjava.lang.StringcombinedStylesjava.util.Map<ProjectResourceId,java.lang.String>compiledStylesbooleanforceIdpAuthjava.lang.Stringidpjava.lang.StringnameProjectConfigprojectConfigbooleanrunnableRuntimeProject.EffectiveProjectSnapshotsnapshotSystemEventsConfigsystemEvents
 - 
Constructor SummaryConstructors Constructor Description PerspectiveProject(ProjectConfig projectConfig, boolean runnable, java.util.Map<ProjectResourceId,java.lang.String> compiledStyles, SystemEventsConfig systemEvents, RuntimeProject.EffectiveProjectSnapshot snapshot, java.lang.String idp, boolean forceIdpAuth, boolean autoIdpAuth)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>getIdp()java.lang.StringgetStyleHash()
 
- 
- 
- 
Field Detail- 
namepublic final java.lang.String name 
 - 
runnablepublic final boolean runnable 
 - 
projectConfigpublic final ProjectConfig projectConfig 
 - 
compiledStylespublic final java.util.Map<ProjectResourceId,java.lang.String> compiledStyles 
 - 
combinedStylespublic final java.lang.String combinedStyles 
 - 
systemEventspublic final SystemEventsConfig systemEvents 
 - 
snapshotpublic final RuntimeProject.EffectiveProjectSnapshot snapshot 
 - 
idppublic final java.lang.String idp 
 - 
forceIdpAuthpublic final boolean forceIdpAuth 
 - 
autoIdpAuthpublic final boolean autoIdpAuth 
 
- 
 - 
Constructor Detail- 
PerspectiveProjectpublic PerspectiveProject(@Nonnull ProjectConfig projectConfig, boolean runnable, @Nonnull java.util.Map<ProjectResourceId,java.lang.String> compiledStyles, @Nonnull SystemEventsConfig systemEvents, @Nonnull RuntimeProject.EffectiveProjectSnapshot snapshot, @Nullable java.lang.String idp, boolean forceIdpAuth, boolean autoIdpAuth)
 
- 
 
-