use of se.inera.intyg.infra.logmessages.PdlLogMessage in project webcert by sklintyg.
the class LogMessagePopulatorImplTest method testActivityArgsUntouchedWhenActivityArgsIsEqualToAdditionalInfo.
@Test
public void testActivityArgsUntouchedWhenActivityArgsIsEqualToAdditionalInfo() {
PdlLogMessage logMessage = testee.populateLogMessage(buildLogRequest(ACTIVITY_ARGS), buildPdlLogMessage(ACTIVITY_ARGS), buildLogUser());
assertEquals(ACTIVITY_ARGS, logMessage.getActivityArgs());
}
use of se.inera.intyg.infra.logmessages.PdlLogMessage in project webcert by sklintyg.
the class IntygRevokeMessage method build.
public static PdlLogMessage build(String intygId) {
PdlLogMessage pdlLogMessage = new PdlLogMessage(ActivityType.REVOKE);
pdlLogMessage.setActivityLevel(intygId);
return pdlLogMessage;
}
use of se.inera.intyg.infra.logmessages.PdlLogMessage in project webcert by sklintyg.
the class IntygSignMessage method build.
public static PdlLogMessage build(String intygId) {
PdlLogMessage pdlLogMessage = new PdlLogMessage(ActivityType.SIGN);
pdlLogMessage.setActivityLevel(intygId);
return pdlLogMessage;
}
use of se.inera.intyg.infra.logmessages.PdlLogMessage in project webcert by sklintyg.
the class IntygCreateMessage method build.
public static PdlLogMessage build(String intygId) {
PdlLogMessage pdlLogMessage = new PdlLogMessage(ActivityType.CREATE);
pdlLogMessage.setActivityLevel(intygId);
return pdlLogMessage;
}
use of se.inera.intyg.infra.logmessages.PdlLogMessage in project webcert by sklintyg.
the class IntygPredictionMessage method build.
public static PdlLogMessage build(String activityArgs) {
PdlLogMessage pdlLogMessage = new PdlLogMessage(ActivityType.READ);
pdlLogMessage.setActivityArgs(activityArgs);
return pdlLogMessage;
}
Aggregations