Record Class BuildIntegrationResult
java.lang.Object
java.lang.Record
dev.archunitjava.integration.BuildIntegrationResult
-
Constructor Summary
ConstructorsConstructorDescriptionBuildIntegrationResult(BuildTool tool, String lifecycle, int exitCode, List<Path> compiledOutputs) Creates an instance of aBuildIntegrationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompiledOutputsrecord component.final booleanIndicates whether some other object is "equal to" this one.intexitCode()Returns the value of theexitCoderecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelifecyclerecord component.tool()Returns the value of thetoolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BuildIntegrationResult
public BuildIntegrationResult(BuildTool tool, String lifecycle, int exitCode, List<Path> compiledOutputs) Creates an instance of aBuildIntegrationResultrecord class.- Parameters:
tool- the value for thetoolrecord componentlifecycle- the value for thelifecyclerecord componentexitCode- the value for theexitCoderecord componentcompiledOutputs- the value for thecompiledOutputsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
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
-
exitCode
public int exitCode()Returns the value of theexitCoderecord component.- Returns:
- the value of the
exitCoderecord component
-
compiledOutputs
-