Class 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 Detail

      • LocalSourceConfigExecutor

        public LocalSourceConfigExecutor()
    • 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:
        apply in interface Function<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:
        executeFor in interface org.guvnor.ala.pipeline.ConfigExecutor
      • outputId

        public String outputId()
        Specified by:
        outputId in interface org.guvnor.ala.pipeline.ConfigExecutor