Skip to content

Commit

Permalink
Added new value
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Alzate <aalzate@sonatype.com>
  • Loading branch information
mr-zepol committed Apr 2, 2024
1 parent e12f923 commit 4bc9761
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import org.cyclonedx.model.BomReference;
import org.cyclonedx.model.ExtensibleElement;
import org.cyclonedx.model.VersionFilter;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({"field", "confidence", "methods", "tools"})
@JsonPropertyOrder({"field", "confidence", "concludedValue", "methods", "tools"})
public class Identity extends ExtensibleElement
{
public Field field;

public Double confidence;

@VersionFilter(versions = {"1.0", "1.1", "1.2", "1.3", "1.4", "1.5"})
public String concludedValue;

public List<Method> methods;

public List<BomReference> tools;
Expand Down Expand Up @@ -88,4 +92,12 @@ public List<BomReference> getTools() {
public void setTools(final List<BomReference> tools) {
this.tools = tools;
}

public String getConcludedValue() {
return concludedValue;
}

public void setConcludedValue(final String concludedValue) {
this.concludedValue = concludedValue;
}
}

0 comments on commit 4bc9761

Please sign in to comment.