Package org.cyclonedx.model
Class Patch
- java.lang.Object
-
- org.cyclonedx.model.Patch
-
public class Patch extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatch.Type
-
Constructor Summary
Constructors Constructor Description Patch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)DiffgetDiff()java.util.List<Issue>getResolves()Patch.TypegetType()inthashCode()voidsetDiff(Diff diff)voidsetResolves(java.util.List<Issue> resolves)voidsetType(Patch.Type type)
-
-
-
Field Detail
-
type
private Patch.Type type
-
diff
private Diff diff
-
resolves
private java.util.List<Issue> resolves
-
-
Method Detail
-
getDiff
public Diff getDiff()
-
setDiff
public void setDiff(Diff diff)
-
getResolves
public java.util.List<Issue> getResolves()
-
setResolves
public void setResolves(java.util.List<Issue> resolves)
-
getType
public Patch.Type getType()
-
setType
public void setType(Patch.Type type)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-