Module com.github.sormuras.bach
Package com.github.sormuras.bach.builder
Record Class Conventional.Builder
java.lang.Object
java.lang.Record
com.github.sormuras.bach.builder.Conventional.Builder
- All Implemented Interfaces:
Conventional
- Enclosing interface:
- Conventional
public static record Conventional.Builder(Bach bach, Conventional.Space space)
extends Record
implements Conventional
Conventional project builder.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.sormuras.bach.builder.Conventional
Conventional.Builder, Conventional.Space -
Constructor Summary
ConstructorsConstructorDescriptionBuilder(Bach bach, Conventional.Space space) Creates an instance of aBuilderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbach()Returns the value of thebachrecord component.voidcompile()voidcompile(ToolCall.Composer javacComposer) voidcompile(ToolCall.Composer javacComposer, ToolCall.Composer jarComposer) dependentSpace(String name, String... modules) voiddocument(ToolCall.Composer javadocComposer) final booleanIndicates whether some other object is "equal to" this one.voidfinal inthashCode()Returns a hash code value for this object.voidlink(ToolCall.Composer jlinkComposer) voidvoidrunJUnit(ToolFinder finder, String module) voidrunJUnit(ToolFinder finder, String module, ToolCall.Composer composer, ToolRun.Visitor visitor) voidvoidrunModule(ModuleFinder finder, String module, ToolCall.Composer composer, ToolRun.Visitor verifier) voidrunModule(String module, ToolCall.Composer composer) voidrunTool(ToolFinder finder, String tool, ToolCall.Composer composer, ToolRun.Visitor visitor) voidrunTool(String tool, ToolCall.Composer composer) space()Returns the value of thespacerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Builder
Creates an instance of aBuilderrecord class.- Parameters:
bach- the value for thebachrecord componentspace- the value for thespacerecord component
-
-
Method Details
-
dependentSpace
-
grab
-
compile
-
compile
-
compile
-
document
-
link
-
runAllTests
-
runModule
-
runModule
public void runModule(ModuleFinder finder, String module, ToolCall.Composer composer, ToolRun.Visitor verifier) -
runTool
-
runTool
public void runTool(ToolFinder finder, String tool, ToolCall.Composer composer, ToolRun.Visitor visitor) -
runJUnit
-
runJUnit
-
runJUnit
public void runJUnit(ToolFinder finder, String module, ToolCall.Composer composer, ToolRun.Visitor visitor) -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
bach
Returns the value of thebachrecord component.- Returns:
- the value of the
bachrecord component
-
space
Returns the value of thespacerecord component.- Returns:
- the value of the
spacerecord component
-