The container of properties of GlobalVariable dynamically added by ExecutionProfilesLoader. This provides quick methods to retrieve the pairs of GlobalVariable name and values; both of statically defined ones and dynamically added ones.
Type | Name and description |
---|---|
static java.util.Map<java.lang.String, java.lang.Object> |
additionalProperties |
Type Params | Return Type | Name and description |
---|---|---|
|
static int |
addProperties(java.util.Map<java.lang.String, java.lang.Object> entries) @param entries |
|
static int |
addProperty(java.lang.String name, java.lang.Object value) insert a public static property of type java.lang.Object into the internal.GlobalVarialbe runtime. |
|
static java.util.Map<java.lang.String, java.lang.Object> |
additionalPropertiesAsMap() |
|
static java.lang.String |
additionalPropertiesAsString() |
|
static java.util.SortedSet<java.lang.String> |
additionalPropertiesKeySet() inspect the 'internal.GlobalVariable' object to find the GlobalVariables contained, return the list of their names. |
|
static java.util.Map<java.lang.String, java.lang.Object> |
allPropertiesAsMap() transform the GlobalVariable |
|
static java.lang.String |
allPropertiesAsString() pretty-printed JSON text of Map returned by mapOfGlobalVariables() |
|
static java.util.SortedSet<java.lang.String> |
allPropertiesKeySet() inspect the 'internal.GlobalVariable' object to find the GlobalVariables contained, return the list of their names. |
|
static void |
clear() Clear properties added to GlobalVariables by addGlobalVariable() method. |
|
static void |
ensureProperty(java.lang.String name, java.lang.Object value) If GlobaleVariable.name is present, set the value into it. |
|
static java.lang.Object |
getPropertyValue(java.lang.String name) |
|
static boolean |
isPropertyPresent(java.lang.String name) @return true if GlobalVarialbe.name is defined either in 2 places 1. statically predefined in the Execution Profile 2. dynamically added by ExpandoGlobalVariable.addGlobalVariable(name, value) call |
|
static java.util.Map<java.lang.String, java.lang.Object> |
staticPropertiesAsMap() |
|
static java.lang.String |
staticPropertiesAsString() |
|
static java.util.SortedSet<java.lang.String> |
staticPropertiesKeySet() inspect the 'internal.GlobalVariable' object to find the GlobalVariables contained, return the list of their names. |
|
static java.lang.String |
toJSON() |
|
static void |
validatePropertyName(java.lang.String name) |
|
static void |
writeJSON(java.util.Set<java.lang.String> nameList, java.io.Writer writer) Create a JSON text of specified GlobalVariable and value pairs, and write the text |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
insert a public static property of type java.lang.Object into the internal.GlobalVarialbe runtime. e.g, GVH.addProperty('my_new_variable', 'foo') makes 1) internal.GlobalVariable.my_new_variable to be present and to have value 'foo' 2) internal.GlobalVariable.getMy_new_variale() to return 'foo' 3) internal.GlobalVariable.setMy_new_variable('bar') to set 'bar' as the value
inspect the 'internal.GlobalVariable' object to find the GlobalVariables contained, return the list of their names. The list will include only GlobalVariables that are added into the ExpandoGlobalVariable by calling ExpandoGlobalVariable.addProperty(name,value) or equivalently ExecutionProfilesLoader.loadProfile(name). The list will NOT include the GlobalVariables statically defined in the Execution Profile which was applied to the Test Case run.
transform the GlobalVariable
pretty-printed JSON text of Map returned by mapOfGlobalVariables()
inspect the 'internal.GlobalVariable' object to find the GlobalVariables contained, return the list of their names. The list will include 2 types of GlobalVariables. 1. GlobalVariables statically defined in the Execution Profile which was applied to the Test Case run. In this category there are 2 types of GlobalVariable: a) GlobalVariables defined in the Profile actually applied to the test case execution. b) GlobalVariables defined in the "default" Profile. c) GlobalVariables defined in any of Profiles which are NOT applied to the test case execution. The a) and b) type of GlobalVariable will have some meaningful value. But the c) type will always have 'null' value. 2. GlobalVariables dynamically added into the ExpandoGlobalVariable by calling ExpandoGlobalVariable.addProperty(name,value) or equivalently ExecutionProfilesLoader.loadProfile(name)
Clear properties added to GlobalVariables by addGlobalVariable() method. The static properties are untouched.
If GlobaleVariable.name is present, set the value into it. Otherwise create GlobalVariable.name dynamically and set the value into it.
inspect the 'internal.GlobalVariable' object to find the GlobalVariables contained, return the list of their names. The list will include only the GlobalVariables statically defined in the Execution Profile which was applied to this time of Test Case run. The list will NOT include the GlobalVariables dynamically added by calling ExpandoGlobalVariable.addGlobalVariable(name,value)
Create a JSON text of specified GlobalVariable and value pairs, and write the text