Class TaskLaunchRequestFunctionConfiguration

java.lang.Object
org.springframework.cloud.fn.task.launch.request.TaskLaunchRequestFunctionConfiguration

@AutoConfiguration @EnableConfigurationProperties(TaskLaunchRequestFunctionProperties.class) public class TaskLaunchRequestFunctionConfiguration extends Object
Configuration for a TaskLaunchRequestFunction, provided as a common function that can be composed with other Suppliers or Functions to transform any Message to a TaskLaunchRequest which may be used as input to the TaskLauncherFunction to launch a task. Command line arguments used by the task, as well as the task name itself may be statically configured or extracted from the message contents, using SpEL. See TaskLaunchRequestFunctionProperties for details. It is also possible to provide your own implementations of CommandLineArgumentsMessageMapper and TaskNameMessageMapper.
Author:
David Turanski
  • Field Details

    • TASK_LAUNCH_REQUEST_FUNCTION_NAME

      public static final String TASK_LAUNCH_REQUEST_FUNCTION_NAME
      The function name.
      See Also:
  • Constructor Details

    • TaskLaunchRequestFunctionConfiguration

      public TaskLaunchRequestFunctionConfiguration()
  • Method Details