Class GrouperGroovyInput

java.lang.Object
edu.internet2.middleware.grouper.app.gsh.GrouperGroovyInput

public class GrouperGroovyInput extends Object
  • Constructor Details

    • GrouperGroovyInput

      public GrouperGroovyInput()
  • Method Details

    • getScriptPrependHeaders

      public int getScriptPrependHeaders()
      how many lines are prepended to the script
      Returns:
    • assignScriptPrependHeaders

      public GrouperGroovyInput assignScriptPrependHeaders(int scriptPrependHeaders)
      how many lines are prepended to the script
      Parameters:
      scriptPrependHeaders -
    • getGrouperGroovyRuntime

      public GrouperGroovyRuntime getGrouperGroovyRuntime()
      pass in so you have a reference
      Returns:
    • assignGrouperGroovyRuntime

      public GrouperGroovyInput assignGrouperGroovyRuntime(GrouperGroovyRuntime grouperGroovyRuntime)
      pass in so you have a reference
      Parameters:
      grouperGroovyRuntime -
    • isUseTransaction

      public boolean isUseTransaction()
      if should user transaction
      Returns:
      true if should use transaction
    • assignUseTransaction

      public GrouperGroovyInput assignUseTransaction(boolean useTransaction)
      if should use transaction
      Parameters:
      useTransaction -
    • getInputNameToValue

      public Map<String,Object> getInputNameToValue()
    • getInputNameToFormElement

      public Map<String,ConfigItemFormElement> getInputNameToFormElement()
    • getScript

      public String getScript()
    • assignScript

      public GrouperGroovyInput assignScript(String script)
    • isLightWeight

      public boolean isLightWeight()
    • assignLightWeight

      public GrouperGroovyInput assignLightWeight(boolean lightWeight)
    • assignInputValueBoolean

      public GrouperGroovyInput assignInputValueBoolean(String inputName, Boolean inputValue)
      Parameters:
      inputName -
      inputValue -
    • assignInputValueInteger

      public GrouperGroovyInput assignInputValueInteger(String inputName, Integer inputValue)
      Parameters:
      inputName -
      inputValue -
    • assignInputValueObject

      public GrouperGroovyInput assignInputValueObject(String inputName, Object inputValue)
      Parameters:
      inputName -
      inputValue -
    • assignInputValueString

      public GrouperGroovyInput assignInputValueString(String inputName, String inputValue)
      Parameters:
      inputName -
      inputValue -
    • assignInputFormElement

      public GrouperGroovyInput assignInputFormElement(String inputName, ConfigItemFormElement formElement)
      Parameters:
      inputName -
      formElement -
    • assignRunAsRoot

      public GrouperGroovyInput assignRunAsRoot(boolean runAsRoot)
      set this to true to run as a root session
      Parameters:
      runAsRoot -
      Returns:
    • isRunAsRoot

      public boolean isRunAsRoot()
      set this to true to run as a root session
      Returns: