Module com.blackhillsoftware.json
Package com.blackhillsoftware.json.cics
Class CicsTransactionGroupFactory
java.lang.Object
com.blackhillsoftware.json.cics.CicsTransactionGroupFactory
A class to create
CicsTransactionGroup
objects with a shared configuration.-
Constructor Summary
ConstructorDescriptionCreate aCicsTransactionGroupFactory
and initialize the default configuration -
Method Summary
Modifier and TypeMethodDescriptionclockDetail
(boolean value) Include detailed data for CICS clocks (true/false).Create a newCicsTransactionGroup
using theCicsTransactionGroupFactory
configurationexclude
(MonitoringField field) Exclude a CICS fieldexcludeGroup
(String name) Exclude a group of fields from CICS transaction datainclude
(MonitoringField field) Include a CICS field
-
Constructor Details
-
CicsTransactionGroupFactory
public CicsTransactionGroupFactory()Create aCicsTransactionGroupFactory
and initialize the default configuration
-
-
Method Details
-
include
Include a CICS field- Parameters:
field
- The field to include- Returns:
- this CicsTransactionGroupFactory
-
exclude
Exclude a CICS field- Parameters:
field
- The field to exclude- Returns:
- this CicsTransactionGroupFactory
-
excludeGroup
Exclude a group of fields from CICS transaction data- Parameters:
name
- The owner name of the group e.g. "DFHWEBB"- Returns:
- this CicsTransactionGroupFactory
-
clockDetail
Include detailed data for CICS clocks (true/false).CICS clock values include a timer value, a count field and flags. To reduce the amount of JSON generated, you can set cicsClockDetail to false and only the timer value will be included in the output.
- Parameters:
value
- true/false, default true.- Returns:
- this CicsTransactionGroupFactory
-
createGroup
Create a newCicsTransactionGroup
using theCicsTransactionGroupFactory
configurationThis method is thread safe.
- Returns:
- a new
CicsTransactionGroup
-