All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.slack.api.model.workflow.WorkflowSteps Maven / Gradle / Ivy

There is a newer version: 1.44.1
Show newest version
package com.slack.api.model.workflow;

import com.slack.api.model.ModelConfigurator;

import java.util.Arrays;
import java.util.List;

public class WorkflowSteps {

    private WorkflowSteps() {
    }

    public static WorkflowStepInput stepInput(ModelConfigurator configurator) {
        return configurator.configure(WorkflowStepInput.builder()).build();
    }

    public static List asOutputs(WorkflowStepOutput... outputs) {
        return Arrays.asList(outputs);
    }

    public static List asStepOutputs(WorkflowStepOutput... outputs) {
        return Arrays.asList(outputs);
    }

    public static WorkflowStepOutput output(ModelConfigurator configurator) {
        return stepOutput(configurator);
    }

    public static WorkflowStepOutput stepOutput(ModelConfigurator configurator) {
        return configurator.configure(WorkflowStepOutput.builder()).build();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy