Class LocalModuleConfigExecutor
- java.lang.Object
-
- org.kie.workbench.common.services.backend.builder.ala.LocalModuleConfigExecutor
-
- All Implemented Interfaces:
BiFunction<org.guvnor.ala.source.Source,LocalProjectConfig,Optional<org.guvnor.ala.config.ProjectConfig>>,org.guvnor.ala.pipeline.BiFunctionConfigExecutor<org.guvnor.ala.source.Source,LocalProjectConfig,org.guvnor.ala.config.ProjectConfig>,org.guvnor.ala.pipeline.ConfigExecutor
@ApplicationScoped public class LocalModuleConfigExecutor extends Object implements org.guvnor.ala.pipeline.BiFunctionConfigExecutor<org.guvnor.ala.source.Source,LocalProjectConfig,org.guvnor.ala.config.ProjectConfig>
Executor for a LocalModuleConfig configuration.
-
-
Constructor Summary
Constructors Constructor Description LocalModuleConfigExecutor()LocalModuleConfigExecutor(org.kie.workbench.common.services.shared.project.KieModuleService moduleService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.guvnor.ala.config.ProjectConfig>apply(org.guvnor.ala.source.Source source, LocalProjectConfig localProjectConfig)This executor mainly translates project configuration provided by the pipeline input into an internal format convenient for the local build system.Class<? extends org.guvnor.ala.config.Config>executeFor()StringoutputId()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
apply
public Optional<org.guvnor.ala.config.ProjectConfig> apply(org.guvnor.ala.source.Source source, LocalProjectConfig localProjectConfig)
This executor mainly translates project configuration provided by the pipeline input into an internal format convenient for the local build system.- Specified by:
applyin interfaceBiFunction<org.guvnor.ala.source.Source,LocalProjectConfig,Optional<org.guvnor.ala.config.ProjectConfig>>- Parameters:
source- the internal representation of the sources in the local build system.localProjectConfig- the project configuration.- Returns:
- the internal representation of the project in the local build system.
-
executeFor
public Class<? extends org.guvnor.ala.config.Config> executeFor()
- Specified by:
executeForin interfaceorg.guvnor.ala.pipeline.ConfigExecutor
-
outputId
public String outputId()
- Specified by:
outputIdin interfaceorg.guvnor.ala.pipeline.ConfigExecutor
-
-