-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'nikita-tkachenko/ci-visibility-batching' into nikita-tk…
…achenko/memory-consumption-optimization
- Loading branch information
Showing
10 changed files
with
176 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/main/java/org/datadog/jenkins/plugins/datadog/traces/write/Payload.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.datadog.jenkins.plugins.datadog.traces.write; | ||
|
||
import javax.annotation.Nonnull; | ||
import net.sf.json.JSONObject; | ||
|
||
public class Payload { | ||
|
||
private final JSONObject json; | ||
private final Track track; | ||
|
||
public Payload(@Nonnull JSONObject json, @Nonnull Track track) { | ||
this.json = json; | ||
this.track = track; | ||
} | ||
|
||
@Nonnull | ||
public JSONObject getJson() { | ||
return json; | ||
} | ||
|
||
@Nonnull | ||
public Track getTrack() { | ||
return track; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.