Package org.egothor.methodatlas.evidence
Enum Class EvidenceFramework
- All Implemented Interfaces:
Serializable,Comparable<EvidenceFramework>,Constable
Compliance frameworks that the
-evidence-pack CLI mode can target.
Each enum constant carries the canonical token used in pack metadata and in the default output directory name. Tokens are kept stable because external audit tooling treats them as identifiers, not labels.
The parse(String) factory accepts case-insensitive input but always
emits the canonical form in metadata files.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOWASP Application Security Verification Standard.ISO/IEC 27001:2022 control 8.29 (secure development lifecycle).NIST Secure Software Development Framework, practice PW.8.PCI DSS requirement 6.4.1 (software security requirements). -
Method Summary
Modifier and TypeMethodDescriptionReturns the canonical, case-sensitive token used to identify this framework in pack metadata and on disk.static EvidenceFrameworkParses a framework token supplied on the command line.static EvidenceFrameworkReturns the enum constant of this class with the specified name.static EvidenceFramework[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASVS
OWASP Application Security Verification Standard. -
PCI_6_4_1
PCI DSS requirement 6.4.1 (software security requirements). -
NIST_SSDF_PW8
NIST Secure Software Development Framework, practice PW.8. -
ISO_27001_8_29
ISO/IEC 27001:2022 control 8.29 (secure development lifecycle).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
canonicalToken
Returns the canonical, case-sensitive token used to identify this framework in pack metadata and on disk.- Returns:
- canonical token; never
null
-
parse
Parses a framework token supplied on the command line.Matching is case-insensitive. The accepted tokens are exactly the
canonicalToken()values of the enum constants.- Parameters:
token- raw token supplied by the user; must not benull- Returns:
- the matching enum constant; never
null - Throws:
IllegalArgumentException- iftokendoes not match any known framework; the exception message lists every valid token
-