SbomConfiguration class

The main sbom configuration class

Constructors

SbomConfiguration(List<String> args)
Construction

Properties

hashCode int
The hash code for this object.
no setterinherited
outputType SbomType
Output type.
getter/setter pair
packageName String
The name of the package being analysed from the pubspec.
getter/setter pair
packageTopLevel String
Top level package path. This must be a standard Dart package directory with pubspec.yaml, the standard package directory structure and an sbom.yaml file if needed. If not supplied on the command line this is defaulted to where sbom was invoked. Note this is always an absolute path.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sbomConfigurationContents ↔ YamlMap
SBOM configuration file contents as parsed by the YAML package
getter/setter pair
sbomPubspecContents ↔ YamlMap
Package pubspec file contents as parsed by the YAML package
getter/setter pair
valid bool
Configuration valid
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseConfigurationFile() → void
Parse the SBOM configuration file.
parsePubspecFile() → void
Parse the package pubspec file.
parseSbomFiles() → void
Parse the SBOM configuration file and the package pubspec file.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited