Record Class BuildIntegrationRequest
java.lang.Object
java.lang.Record
dev.archunitjava.integration.BuildIntegrationRequest
public record BuildIntegrationRequest(BuildTool tool, String lifecycle, Path approvedRoot, Path configuration, List<Path> compiledOutputs, BuildCommand command, Optional<CliResultFormat> resultFormat, Optional<CliGraphFormat> graphFormat)
extends Record
Lossless mapping from build-tool inputs to the shared CLI/library contract.
-
Constructor Summary
ConstructorsConstructorDescriptionBuildIntegrationRequest(BuildTool tool, String lifecycle, Path approvedRoot, Path configuration, List<Path> compiledOutputs, BuildCommand command, Optional<CliResultFormat> resultFormat, Optional<CliGraphFormat> graphFormat) Creates an instance of aBuildIntegrationRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapprovedRootrecord component.command()Returns the value of thecommandrecord component.Returns the value of thecompiledOutputsrecord component.Returns the value of theconfigurationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegraphFormatrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelifecyclerecord component.Returns the value of theresultFormatrecord component.tool()Returns the value of thetoolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BuildIntegrationRequest
public BuildIntegrationRequest(BuildTool tool, String lifecycle, Path approvedRoot, Path configuration, List<Path> compiledOutputs, BuildCommand command, Optional<CliResultFormat> resultFormat, Optional<CliGraphFormat> graphFormat) Creates an instance of aBuildIntegrationRequestrecord class.- Parameters:
tool- the value for thetoolrecord componentlifecycle- the value for thelifecyclerecord componentapprovedRoot- the value for theapprovedRootrecord componentconfiguration- the value for theconfigurationrecord componentcompiledOutputs- the value for thecompiledOutputsrecord componentcommand- the value for thecommandrecord componentresultFormat- the value for theresultFormatrecord componentgraphFormat- the value for thegraphFormatrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
tool
Returns the value of thetoolrecord component.- Returns:
- the value of the
toolrecord component
-
lifecycle
Returns the value of thelifecyclerecord component.- Returns:
- the value of the
lifecyclerecord component
-
approvedRoot
Returns the value of theapprovedRootrecord component.- Returns:
- the value of the
approvedRootrecord component
-
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
compiledOutputs
-
command
Returns the value of thecommandrecord component.- Returns:
- the value of the
commandrecord component
-
resultFormat
Returns the value of theresultFormatrecord component.- Returns:
- the value of the
resultFormatrecord component
-
graphFormat
Returns the value of thegraphFormatrecord component.- Returns:
- the value of the
graphFormatrecord component
-