Questions And Answers Verified 100% Correct
Ruleset Types - ANSWER -Validation: "execute all", all rules executed to ensure
full validation of data
Assignment: "exit after first action", rules evaluated until one successfully assigns
a task
Preupdate Rules - ANSWER -Perform logic before entity is committed to DB,
execute before validation rules
Logging Components - ANSWER -Logger: logical file name that represents
logging category
Appender: Destination for the logger
Layout: defines the log entry formatting instructions
Logging levels - ANSWER -Trace: for method entry and exit
Debug: detailed info events for debugging
Info: less detailed events, used for logging results of important event
Warn: potential problem that does not affect user experience
Error: definite problem, affects user experience
Typical Events to Log - ANSWER -Success, failure, recovery, identification
Common Logging Format (CLF) - ANSWER -Standard format for logging
messages in JSON, works with Log4j2 and structured logger
CLF Core Fields - ANSWER -Timestamp, Level, contextMap, Message,
exceptionMessage (only for error)
CLF Context Map - ANSWER -array of key-value pairs which give context on the
situation
, Structured Logger - ANSWER -simplified interface that facilitates logging, can
define logger objects (_logger=StructuredLogger.<LOGGER_CATEGORY>)
Access Modifer Keywords - ANSWER -Public, Protected, Internal, Private
Enhancements - ANSWER -Allow you to augment classes with additional
concrete methods and properties
Enhancement Use Cases - ANSWER -Add new properties and methods to
Guidewire Entities, add utility methods to a Java class that can not be directly
modified
Enhancement Properties - ANSWER -Getter: Calculates derived value based on
DB data, result not stored in DB
Setter: Value may be stored in DB
Method
Validation Rules - ANSWER -Written as Gosu rules, contain logic to validate
complex logical conditions
Delegate - ANSWER -Allows for sharing functionality between entities, useful
when entities share common functionality but subtyping does not make sense
triggersValdiation - ANSWER -Set to true to trigger validation rules on a parent
entity when the child object changes
Build Data Dictionary Command - ANSWER -gwb genDataDictionary
Gosu Query: Create Object Method - ANSWER -Query.make(EntityName)
Gosu Query: Add Conditionals Method - ANSWER -
queryObj.compare(type#Feature, database.Relop.<operator>, value)
Gosu Query: Create Results Method - ANSWER -queryObj.select()