Class PerspectiveProject

java.lang.Object
com.inductiveautomation.perspective.gateway.api.PerspectiveProject

public class PerspectiveProject extends Object
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 ResourceCollection. 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.
  • Field Details

  • Constructor Details

  • Method Details

    • getStyleHash

      public String getStyleHash()
      Returns:
      a string that represents the uniqueness of the styles of this project.
    • getSymbolStylesHash

      public String getSymbolStylesHash()
    • getIdp

      public Optional<String> getIdp()
      Returns:
      the name of the default Identity Provider for this project