com.slack.api.model.workflow.WorkflowSteps Maven / Gradle / Ivy
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