View Source StepFlow.Step.Helpers (StepFlow v1.8.0)

The Helper Step context.

Summary

Functions

Link to this function

add_required_paths(requirements, paths)

View Source
Link to this function

filter_empty(source_paths)

View Source
Link to this function

filter_empty_templated(defined_parameters)

View Source
Link to this function

filter_path_list(source_paths, list)

View Source

Filter a list of paths.

Examples

iex> StepFlow.Step.Helpers.filter_path_list(["path_1.ext1", "path2.ext2"], [%{"ends_with" => ".ext2"}])
["path2.ext2"]

iex> StepFlow.Step.Helpers.filter_path_list(["path_1.ext1", "path2.ext2"], [%{ends_with: ".ext2"}])
["path2.ext2"]
Link to this function

filter_untemplated(parameters)

View Source
Link to this function

get_base_directory(workflow, step)

View Source
Link to this function

get_job_destination_paths(job)

View Source
Link to this function

get_jobs_destination_paths(jobs)

View Source
Link to this function

get_required_paths(jobs, step)

View Source
Link to this function

get_step_requirements(jobs, step)

View Source
Link to this function

get_string_or_processed_template_value(workflow, step, dates, source_paths, key, default \\ "")

View Source
Link to this function

get_value_in_parameters(object, key)

View Source

Retrieves a value on an Objecta and filtered by the key.

Link to this function

get_value_in_parameters_with_type(object, key, type)

View Source

Retrieves a value on an Object and filtered by the key and type.

Link to this function

get_work_directory(step)

View Source
Link to this function

template_process(template, workflow, step, dates, source_path)

View Source
Link to this function

templates_process(template, workflow, step, dates, result \\ [])

View Source