Class GroovyParameter
java.lang.Object
groovy.lang.GroovyObjectSupport
de.uplanet.lucy.server.businesslogic.util.scriptable.GroovyParameter
- All Implemented Interfaces:
groovy.lang.GroovyObject
@Scriptable
public class GroovyParameter
extends groovy.lang.GroovyObjectSupport
In a workflow environment: g_parameter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsParameter(String p_strKey) Returns the value of a parameter.Returns the value of a parameter.getProperty(String p_strKey) voidDeprecated.DO ABSOLUTELY NOT USE THIS METHOD!voidsetProperty(String p_strKey, Object p_value) Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClassMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
invokeMethod
-
Constructor Details
-
GroovyParameter
-
GroovyParameter
public GroovyParameter(de.uplanet.lucy.server.binding.IBinding p_ctx)
-
-
Method Details
-
get
Returns the value of a parameter.- Parameters:
p_strKey- The parameter name- Returns:
- The parameter value or
nullif no parameter found or no value was set.
-
get
Returns the value of a parameter.- Parameters:
p_strKey- The parameter namep_fallback- The fallback value. Will returned when no parameter found or the parameter value isnull.- Returns:
- The parameter value or the given fallback value for a not existing or an
nullparameter value.
-
containsParameter
- Parameters:
p_strKey- The parameter name- Returns:
- Returns
trueif an parameter with the given name exists otherwisefalse
-
getProperty
-
setProperty
-
getAt
-
putAt
Deprecated.DO ABSOLUTELY NOT USE THIS METHOD!
-