Klasse SpecVersion
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.ant.cyclonedx.SpecVersion
public class SpecVersion
extends org.apache.tools.ant.types.EnumeratedAttribute
CycloneDX specification version to use for the SBOM.
Accepts the enum constants like VERSION_16 as well as
the human readable version 1.6. The values are directly
provided by CycloneDX Core's enum.
-
Feldübersicht
FelderVon Klasse geerbte Felder org.apache.tools.ant.types.EnumeratedAttribute
value -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
-
Felddetails
-
DEFAULT
Default spec version.
-
-
Konstruktordetails
-
SpecVersion
public SpecVersion()
-
-
Methodendetails
-
getValues
- Angegeben von:
getValuesin Klasseorg.apache.tools.ant.types.EnumeratedAttribute
-
getVersion
public org.cyclonedx.Version getVersion()Translates this instance to aVersion.- Gibt zurück:
- CycloneDX version of this instance
- Löst aus:
org.apache.tools.ant.BuildException- if the value can not be translated.
-
equals
-
hashCode
-