io.github.pmckeown.dependencytrack.upload.UploadBomResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dependency-track-maven-plugin Show documentation
Show all versions of dependency-track-maven-plugin Show documentation
Maven plugin to integrate with a Dependency Track server to submit dependency manifests and gather project metrics.
package io.github.pmckeown.dependencytrack.upload;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Encapsulates the response payload for uploading a BOM
*
* @author Paul McKeown
*/
public class UploadBomResponse {
private String token;
@JsonCreator
public UploadBomResponse(@JsonProperty("token") String token) {
this.token = token;
}
public String getToken() {
return token;
}
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy