Class LocalSourceConfigExecutor
- java.lang.Object
-
- org.kie.workbench.common.services.backend.builder.ala.LocalSourceConfigExecutor
-
- All Implemented Interfaces:
Function<LocalSourceConfig,Optional<org.guvnor.ala.source.Source>>,org.guvnor.ala.pipeline.ConfigExecutor,org.guvnor.ala.pipeline.FunctionConfigExecutor<LocalSourceConfig,org.guvnor.ala.source.Source>
@ApplicationScoped public class LocalSourceConfigExecutor extends Object implements org.guvnor.ala.pipeline.FunctionConfigExecutor<LocalSourceConfig,org.guvnor.ala.source.Source>
Executor for a LocalSourceConfig configuration.
-
-
Constructor Summary
Constructors Constructor Description LocalSourceConfigExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.guvnor.ala.source.Source>apply(LocalSourceConfig localSourceConfig)This executor mainly translates the sources 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()
-
-
-
Method Detail
-
apply
public Optional<org.guvnor.ala.source.Source> apply(LocalSourceConfig localSourceConfig)
This executor mainly translates the sources configuration provided by the pipeline input into an internal format convenient for the local build system.- Specified by:
applyin interfaceFunction<LocalSourceConfig,Optional<org.guvnor.ala.source.Source>>- Parameters:
localSourceConfig- the local sources configuration.- Returns:
- the internal representation of the sources 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
-
-