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 aBuilder
record class. -
Method Summary
Modifier and TypeMethodDescriptionbach()
Returns the value of thebach
record component.void
compile()
void
compile
(ToolCall.Composer javacComposer) void
compile
(ToolCall.Composer javacComposer, ToolCall.Composer jarComposer) dependentSpace
(String name, String... modules) void
document
(ToolCall.Composer javadocComposer) final boolean
Indicates whether some other object is "equal to" this one.void
final int
hashCode()
Returns a hash code value for this object.void
link
(ToolCall.Composer jlinkComposer) void
void
runJUnit
(ToolFinder finder, String module) void
runJUnit
(ToolFinder finder, String module, ToolCall.Composer composer, ToolRun.Visitor visitor) void
void
runModule
(ModuleFinder finder, String module, ToolCall.Composer composer, ToolRun.Visitor verifier) void
runModule
(String module, ToolCall.Composer composer) void
runTool
(ToolFinder finder, String tool, ToolCall.Composer composer, ToolRun.Visitor visitor) void
runTool
(String tool, ToolCall.Composer composer) space()
Returns the value of thespace
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Builder
Creates an instance of aBuilder
record class.- Parameters:
bach
- the value for thebach
record componentspace
- the value for thespace
record 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 thebach
record component.- Returns:
- the value of the
bach
record component
-
space
Returns the value of thespace
record component.- Returns:
- the value of the
space
record component
-