Class GrouperGroovyInput
java.lang.Object
edu.internet2.middleware.grouper.app.gsh.GrouperGroovyInput
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassignGrouperGroovyRuntime
(GrouperGroovyRuntime grouperGroovyRuntime) pass in so you have a referenceassignInputFormElement
(String inputName, ConfigItemFormElement formElement) assignInputValueBoolean
(String inputName, Boolean inputValue) assignInputValueInteger
(String inputName, Integer inputValue) assignInputValueObject
(String inputName, Object inputValue) assignInputValueString
(String inputName, String inputValue) assignLightWeight
(boolean lightWeight) assignRunAsRoot
(boolean runAsRoot) set this to true to run as a root sessionassignScript
(String script) assignScriptPrependHeaders
(int scriptPrependHeaders) how many lines are prepended to the scriptassignUseTransaction
(boolean useTransaction) if should use transactionpass in so you have a referenceint
how many lines are prepended to the scriptboolean
boolean
set this to true to run as a root sessionboolean
if should user transaction
-
Constructor Details
-
GrouperGroovyInput
public GrouperGroovyInput()
-
-
Method Details
-
getScriptPrependHeaders
public int getScriptPrependHeaders()how many lines are prepended to the script- Returns:
-
assignScriptPrependHeaders
how many lines are prepended to the script- Parameters:
scriptPrependHeaders
-
-
getGrouperGroovyRuntime
pass in so you have a reference- Returns:
-
assignGrouperGroovyRuntime
pass in so you have a reference- Parameters:
grouperGroovyRuntime
-
-
isUseTransaction
public boolean isUseTransaction()if should user transaction- Returns:
- true if should use transaction
-
assignUseTransaction
if should use transaction- Parameters:
useTransaction
-
-
getInputNameToValue
-
getInputNameToFormElement
-
getScript
-
assignScript
-
isLightWeight
public boolean isLightWeight() -
assignLightWeight
-
assignInputValueBoolean
- Parameters:
inputName
-inputValue
-
-
assignInputValueInteger
- Parameters:
inputName
-inputValue
-
-
assignInputValueObject
- Parameters:
inputName
-inputValue
-
-
assignInputValueString
- Parameters:
inputName
-inputValue
-
-
assignInputFormElement
public GrouperGroovyInput assignInputFormElement(String inputName, ConfigItemFormElement formElement) - Parameters:
inputName
-formElement
-
-
assignRunAsRoot
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:
-