Uses of Enum Class
io.serverlessworkflow.api.WorkflowFormat
Packages that use WorkflowFormat
-
Uses of WorkflowFormat in io.serverlessworkflow.api
Methods in io.serverlessworkflow.api that return WorkflowFormatModifier and TypeMethodDescriptionstatic WorkflowFormatWorkflowFormat.fromFileName(String fileName) Determines theWorkflowFormatfrom a file name by inspecting its extension.static WorkflowFormatDetermines theWorkflowFormatfrom a file path by inspecting its file extension.static WorkflowFormatReturns the enum constant of this class with the specified name.static WorkflowFormat[]WorkflowFormat.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.serverlessworkflow.api with parameters of type WorkflowFormatModifier and TypeMethodDescriptionio.serverlessworkflow.api.types.WorkflowWorkflowReaderOperations.read(byte[] input, WorkflowFormat format) io.serverlessworkflow.api.types.WorkflowWorkflowReaderOperations.read(InputStream input, WorkflowFormat format) io.serverlessworkflow.api.types.WorkflowWorkflowReaderOperations.read(Reader input, WorkflowFormat format) io.serverlessworkflow.api.types.WorkflowWorkflowReaderOperations.read(String input, WorkflowFormat format) static io.serverlessworkflow.api.types.WorkflowWorkflowReader.readWorkflow(byte[] input, WorkflowFormat format) Reads a workflow from a byte array using the specified format.static io.serverlessworkflow.api.types.WorkflowWorkflowReader.readWorkflow(InputStream input, WorkflowFormat format) Reads a workflow from anInputStreamusing the specified format.static io.serverlessworkflow.api.types.WorkflowWorkflowReader.readWorkflow(Reader input, WorkflowFormat format) Reads a workflow from aReaderusing the specified format.static io.serverlessworkflow.api.types.WorkflowWorkflowReader.readWorkflow(Path path, WorkflowFormat format) Reads a workflow from a file path using the specified format.static io.serverlessworkflow.api.types.WorkflowWorkflowReader.readWorkflow(Path path, WorkflowFormat format, WorkflowReaderOperations reader) Reads a workflow from a file path using the specified format and custom reader.static io.serverlessworkflow.api.types.WorkflowWorkflowReader.readWorkflowFromClasspath(String classpath, ClassLoader cl, WorkflowFormat format) Reads a workflow from the classpath using the specified class loader and format.static io.serverlessworkflow.api.types.WorkflowWorkflowReader.readWorkflowFromClasspath(String classpath, ClassLoader cl, WorkflowFormat format, WorkflowReaderOperations reader) Reads a workflow from the classpath using the specified class loader, format, and custom reader.static io.serverlessworkflow.api.types.WorkflowWorkflowReader.readWorkflowFromString(String input, WorkflowFormat format) Reads a workflow from a string using the specified format.static byte[]WorkflowWriter.workflowAsBytes(io.serverlessworkflow.api.types.Workflow workflow, WorkflowFormat format) Serializes aWorkflowto a byte array in the specified format.static StringWorkflowWriter.workflowAsString(io.serverlessworkflow.api.types.Workflow workflow, WorkflowFormat format) Serializes aWorkflowto a string in the specified format.static voidWorkflowWriter.writeWorkflow(OutputStream output, io.serverlessworkflow.api.types.Workflow workflow, WorkflowFormat format) Writes aWorkflowto the givenOutputStreamin the specified format.static voidWorkflowWriter.writeWorkflow(Writer output, io.serverlessworkflow.api.types.Workflow workflow, WorkflowFormat format) Writes aWorkflowto the givenWriterin the specified format.static voidWorkflowWriter.writeWorkflow(Path output, io.serverlessworkflow.api.types.Workflow workflow, WorkflowFormat format) Writes aWorkflowto the specified file path in the given format.