Package fr.gouv.vitam.logbook.common
Class MessageLogbookEngineHelper
java.lang.Object
fr.gouv.vitam.logbook.common.MessageLogbookEngineHelper
Helper to get great process operation logbook key and message (outcome) depend on LogbookTypeProcess
-
Constructor Summary
ConstructorDescriptionMessageLogbookEngineHelper
(LogbookTypeProcess logbookTypeProcess) Default constructor -
Method Summary
Modifier and TypeMethodDescriptiongetLabelOp
(String stepOrHandler, StatusCode code, Object... args) Get operation logbook messagegetLabelOp
(String stepOrHandler, String transaction, StatusCode code, Object... args) Get operation logbook messagegetOutcomeDetail
(String stepOrHandler, StatusCode code) Get operation logbook outcome detail (key)getOutcomeDetail
(String stepOrHandler, String transaction, StatusCode code) Get operation logbook outcome detail (key)
-
Constructor Details
-
MessageLogbookEngineHelper
Default constructor- Parameters:
logbookTypeProcess
- concerned logbook process type
-
-
Method Details
-
getLabelOp
Get operation logbook message- Parameters:
stepOrHandler
- step or handler name or full namecode
- of statusargs
- list of extra argument to apply as MessageFormat.format(message, args)- Returns:
- the operation logbook message
-
getLabelOp
Get operation logbook message- Parameters:
stepOrHandler
- step or handler name or full nametransaction
- namecode
- of statusargs
- list of extra argument to apply as MessageFormat.format(message, args)- Returns:
- the operation logbook message
-
getOutcomeDetail
Get operation logbook outcome detail (key)- Parameters:
stepOrHandler
- step or handler name or full namecode
- of status- Returns:
- the outcome detail (key)
-
getOutcomeDetail
Get operation logbook outcome detail (key)- Parameters:
stepOrHandler
- step or handler name or full nametransaction
- namecode
- of status- Returns:
- the outcome detail (key)
-