Class LocalBuildConfigExecutor
- java.lang.Object
-
- org.kie.workbench.common.services.backend.builder.ala.LocalBuildConfigExecutor
-
- All Implemented Interfaces:
BiFunction<LocalModule,LocalBuildConfig,Optional<org.guvnor.ala.config.BuildConfig>>,org.guvnor.ala.pipeline.BiFunctionConfigExecutor<LocalModule,LocalBuildConfig,org.guvnor.ala.config.BuildConfig>,org.guvnor.ala.pipeline.ConfigExecutor
@ApplicationScoped public class LocalBuildConfigExecutor extends Object implements org.guvnor.ala.pipeline.BiFunctionConfigExecutor<LocalModule,LocalBuildConfig,org.guvnor.ala.config.BuildConfig>
Executor for a LocalBuildConfig configuration.
-
-
Constructor Summary
Constructors Constructor Description LocalBuildConfigExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.guvnor.ala.config.BuildConfig>apply(LocalModule localModule, LocalBuildConfig localBuildConfig)This executor mainly translates the local project configuration and the build configuration parameters provided by the pipeline input into an internal format convenient for building the project in 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.BuildConfig> apply(LocalModule localModule, LocalBuildConfig localBuildConfig)
This executor mainly translates the local project configuration and the build configuration parameters provided by the pipeline input into an internal format convenient for building the project in the local build system.- Specified by:
applyin interfaceBiFunction<LocalModule,LocalBuildConfig,Optional<org.guvnor.ala.config.BuildConfig>>- Parameters:
localModule- the internal representation of the project in the local build system.localBuildConfig- the build configuration.- Returns:
- the internal build configuration for building 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
-
-