Class GuiGshTemplateConfiguration

java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiGshTemplateConfiguration

public class GuiGshTemplateConfiguration extends Object
  • Method Details

    • getGshTemplateConfiguration

      public GshTemplateConfiguration getGshTemplateConfiguration()
    • convertFromGshTemplateConfiguration

      public static GuiGshTemplateConfiguration convertFromGshTemplateConfiguration(GshTemplateConfiguration gshTemplateConfiguration)
    • convertFromGshTemplateConfiguration

      public static List<GuiGshTemplateConfiguration> convertFromGshTemplateConfiguration(List<GshTemplateConfiguration> gshTemplateConfigurations)
    • getTemplateType

      public String getTemplateType()
      Returns:
      the template type (gsh, abac, provisioner, daemon, ...); defaults to gsh
    • getTemplateMode

      public String getTemplateMode()
      Returns:
      the template mode (interpreted or compiled); defaults to interpreted
    • isCompiledMode

      public boolean isCompiledMode()
      Returns:
      true if this template runs in compiled-Java mode
    • getSourceLocation

      public String getSourceLocation()
      Returns:
      source location token: "file" (container file) or "inline" (config)
    • getCompileStatus

      public String getCompileStatus()
      Returns:
      compile-status token for display: "" (interpreted / unknown), "ok", "failed", or "fileMissing"
    • getCompileStatusDetail

      public String getCompileStatusDetail()
      Returns:
      compiler/parse diagnostics when the compile failed; empty otherwise
    • getLastCompiled

      public String getLastCompiled()
      Returns:
      when the compile status was last computed, formatted, or empty if not applicable