prepare first attempt on the builder pipeline
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
package p.studio.compiler.models;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import p.studio.compiler.messages.BuilderPipelineConfig;
|
||||
import p.studio.utilities.logs.LogAggregator;
|
||||
|
||||
public class BuilderPipelineContext {
|
||||
@Getter
|
||||
private final BuilderPipelineConfig config;
|
||||
@Getter
|
||||
private final LogAggregator logs;
|
||||
@Getter
|
||||
@Setter
|
||||
private ResolvedWorkspace resolvedWorkspace;
|
||||
|
||||
private BuilderPipelineContext(
|
||||
final BuilderPipelineConfig config,
|
||||
final LogAggregator logs) {
|
||||
this.config = config;
|
||||
this.logs = logs;
|
||||
}
|
||||
|
||||
public static BuilderPipelineContext seed(BuilderPipelineConfig config, LogAggregator logAggregator) {
|
||||
return new BuilderPipelineContext(config, logAggregator);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user