Module com.github.sormuras.bach
Record Class WorkflowRunner
java.lang.Object
java.lang.Record
com.github.sormuras.bach.workflow.WorkflowRunner
A workflow-running builder of projects.
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowRunner
(Bach bach, Project project) Creates an instance of aWorkflowRunner
record class. -
Method Summary
Modifier and TypeMethodDescriptionbach()
Returns the value of thebach
record component.void
final boolean
Indicates whether some other object is "equal to" this one.void
void
final int
hashCode()
Returns a hash code value for this object.void
launchModule
(String module, Object... arguments) project()
Returns the value of theproject
record component.void
void
runCompileWorkflow
(ProjectSpace space) void
void
runLaunchModuleWorkflow
(ProjectSpace space, String module, Composer<DefaultCommand> composer) final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
WorkflowRunner
Creates an instance of aWorkflowRunner
record class.- Parameters:
bach
- the value for thebach
record componentproject
- the value for theproject
record component
-
-
Method Details
-
grabExternals
-
compileSpaces
-
executeTests
-
launchModule
-
run
-
runCompileWorkflow
-
runExecuteTestsWorkflow
-
runLaunchModuleWorkflow
public void runLaunchModuleWorkflow(ProjectSpace space, String module, Composer<DefaultCommand> composer) -
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
-
project
Returns the value of theproject
record component.- Returns:
- the value of the
project
record component
-