@RunWithCustomExecutor @Test public void should_compute_outcome_detail_when_create_logbook_operation_parameter() throws Exception { String evType = "evType"; final LogbookOperationParameters logbookParameters = LogbookParameterHelper .newLogbookOperationParameters(GUIDFactory.newEventGUID(0), evType, GUIDFactory.newEventGUID(0), LogbookTypeProcess.MASTERDATA, StatusCode.STARTED, VitamLogbookMessages.getCodeOp(evType, StatusCode.STARTED), GUIDFactory.newEventGUID(0)); assertThat(logbookParameters.getMapParameters()).containsEntry(LogbookParameterName.outcomeDetail, "evType.STARTED"); }
static LogbookOperationParameters newLogbookOperationParameters( Set<LogbookParameterName> mandatoryFieldsToAdd) { return new LogbookOperationParameters( initLogbookOperationMandatoriesParameters(mandatoryFieldsToAdd)); }
LogbookParameterHelper { static LogbookOperationParameters newLogbookOperationParameters( Set<LogbookParameterName> mandatoryFieldsToAdd) { return new LogbookOperationParameters( initLogbookOperationMandatoriesParameters(mandatoryFieldsToAdd)); } }
LogbookParameterHelper { static LogbookOperationParameters newLogbookOperationParameters( Set<LogbookParameterName> mandatoryFieldsToAdd) { return new LogbookOperationParameters( initLogbookOperationMandatoriesParameters(mandatoryFieldsToAdd)); } private  LogbookParameterHelper(); }
LogbookParameterHelper { static LogbookOperationParameters newLogbookOperationParameters( Set<LogbookParameterName> mandatoryFieldsToAdd) { return new LogbookOperationParameters( initLogbookOperationMandatoriesParameters(mandatoryFieldsToAdd)); } private  LogbookParameterHelper(); static LogbookOperationParameters newLogbookOperationParameters(); static LogbookLifeCycleUnitParameters newLogbookLifeCycleUnitParameters(); static LogbookLifeCycleObjectGroupParameters newLogbookLifeCycleObjectGroupParameters(); static LogbookOperationParameters newLogbookOperationParameters(GUID eventIdentifier,
        String eventType, GUID eventIdentifierProcess, LogbookTypeProcess eventTypeProcess,
        StatusCode outcome, String outcomeDetailMessage, GUID eventIdentifierRequest); static LogbookOperationParameters newLogbookOperationParameters(GUID eventIdentifier,
        String eventType, GUID eventIdentifierProcess, LogbookTypeProcess eventTypeProcess,
        StatusCode outcome, String subtask, String appendedDetailMessage, GUID eventIdentifierRequest); static LogbookLifeCycleUnitParameters newLogbookLifeCycleUnitParameters(GUID eventIdentifier,
        String eventType, GUID eventIdentifierProcess, LogbookTypeProcess eventTypeProcess,
        StatusCode outcome, String outcomeDetail, String outcomeDetailMessage,
        GUID objectIdentifier); static LogbookLifeCycleObjectGroupParameters newLogbookLifeCycleObjectGroupParameters(GUID eventIdentifier,
        String eventType, GUID eventIdentifierProcess, LogbookTypeProcess eventTypeProcess,
        StatusCode outcome, String outcomeDetail, String outcomeDetailMessage,
        GUID objectIdentifier); static Set<LogbookParameterName> getDefaultLifeCycleMandatory(); }
LogbookParameterHelper { static LogbookOperationParameters newLogbookOperationParameters( Set<LogbookParameterName> mandatoryFieldsToAdd) { return new LogbookOperationParameters( initLogbookOperationMandatoriesParameters(mandatoryFieldsToAdd)); } private  LogbookParameterHelper(); static LogbookOperationParameters newLogbookOperationParameters(); static LogbookLifeCycleUnitParameters newLogbookLifeCycleUnitParameters(); static LogbookLifeCycleObjectGroupParameters newLogbookLifeCycleObjectGroupParameters(); static LogbookOperationParameters newLogbookOperationParameters(GUID eventIdentifier,
        String eventType, GUID eventIdentifierProcess, LogbookTypeProcess eventTypeProcess,
        StatusCode outcome, String outcomeDetailMessage, GUID eventIdentifierRequest); static LogbookOperationParameters newLogbookOperationParameters(GUID eventIdentifier,
        String eventType, GUID eventIdentifierProcess, LogbookTypeProcess eventTypeProcess,
        StatusCode outcome, String subtask, String appendedDetailMessage, GUID eventIdentifierRequest); static LogbookLifeCycleUnitParameters newLogbookLifeCycleUnitParameters(GUID eventIdentifier,
        String eventType, GUID eventIdentifierProcess, LogbookTypeProcess eventTypeProcess,
        StatusCode outcome, String outcomeDetail, String outcomeDetailMessage,
        GUID objectIdentifier); static LogbookLifeCycleObjectGroupParameters newLogbookLifeCycleObjectGroupParameters(GUID eventIdentifier,
        String eventType, GUID eventIdentifierProcess, LogbookTypeProcess eventTypeProcess,
        StatusCode outcome, String outcomeDetail, String outcomeDetailMessage,
        GUID objectIdentifier); static Set<LogbookParameterName> getDefaultLifeCycleMandatory();  }