Class Builder
java.lang.Object
org.apache.commons.release.plugin.slsa.v1_2.Builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<ResourceDescriptor> Orchestrator dependencies that may affect provenance generation.private StringIdentifier URI of the builder.Map of build platform component names to their versions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets orchestrator dependencies that do not run within the build workload and do not affect the build output, but may affect provenance generation or security guarantees.getId()Gets the identifier of the builder.Gets a map of build platform component names to their versions.inthashCode()setBuilderDependencies(List<ResourceDescriptor> builderDependencies) Sets the orchestrator dependencies that may affect provenance generation or security guarantees.Sets the identifier of the builder.setVersion(Map<String, String> version) Sets the map of build platform component names to their versions.toString()
-
Field Details
-
builderDependencies
Orchestrator dependencies that may affect provenance generation. -
id
-
version
-
-
Constructor Details
-
Builder
public Builder()Creates a new Builder instance.
-
-
Method Details
-
equals
-
getBuilderDependencies
Gets orchestrator dependencies that do not run within the build workload and do not affect the build output, but may affect provenance generation or security guarantees.- Returns:
- The list of builder dependencies, or
nullif not set.
-
getId
-
getVersion
Gets a map of build platform component names to their versions.- Returns:
- The version map, or
nullif not set.
-
hashCode
-
setBuilderDependencies
Sets the orchestrator dependencies that may affect provenance generation or security guarantees.- Parameters:
builderDependencies- The list of builder dependencies.- Returns:
- this for chaining.
-
setId
-
setVersion
Sets the map of build platform component names to their versions.- Parameters:
version- The version map.- Returns:
- this for chaining.
-
toString
-