Search in sources :

Example 1 with NwdiMarkerClassLocatingTransformer

use of com.teamscale.jacoco.agent.commit_resolution.sapnwdi.NwdiMarkerClassLocatingTransformer in project teamscale-jacoco-agent by cqse.

the class AgentOptions method createNwdiTeamscaleUploader.

private IUploader createNwdiTeamscaleUploader(Instrumentation instrumentation) {
    DelayedSapNwdiMultiUploader uploader = new DelayedSapNwdiMultiUploader((commit, application) -> new TeamscaleUploader(teamscaleServer.withProjectAndCommit(application.getTeamscaleProject(), commit)));
    instrumentation.addTransformer(new NwdiMarkerClassLocatingTransformer(uploader, getLocationIncludeFilter(), sapNetWeaverJavaApplications.getApplications()));
    return uploader;
}
Also used : DelayedSapNwdiMultiUploader(com.teamscale.jacoco.agent.options.sapnwdi.DelayedSapNwdiMultiUploader) TeamscaleUploader(com.teamscale.jacoco.agent.upload.teamscale.TeamscaleUploader) NwdiMarkerClassLocatingTransformer(com.teamscale.jacoco.agent.commit_resolution.sapnwdi.NwdiMarkerClassLocatingTransformer)

Aggregations

NwdiMarkerClassLocatingTransformer (com.teamscale.jacoco.agent.commit_resolution.sapnwdi.NwdiMarkerClassLocatingTransformer)1 DelayedSapNwdiMultiUploader (com.teamscale.jacoco.agent.options.sapnwdi.DelayedSapNwdiMultiUploader)1 TeamscaleUploader (com.teamscale.jacoco.agent.upload.teamscale.TeamscaleUploader)1