Zeebe C# Client 2.5.0
C# Client to communicate with an Zeebe Gateway
Loading...
Searching...
No Matches
Zeebe.Client.Api.Commands.IDeployResourceCommandStep1 Interface Reference
Inheritance diagram for Zeebe.Client.Api.Commands.IDeployResourceCommandStep1:
Zeebe.Client.Api.Commands.IDeployResourceCommandBuilderStep2

Public Member Functions

IDeployResourceCommandBuilderStep2 AddResourceBytes (byte[] resourceBytes, string resourceName)
 Add the given resource to the deployment. More...
 
IDeployResourceCommandBuilderStep2 AddResourceString (string resourceString, Encoding encoding, string resourceName)
 Add the given resource to the deployment. More...
 
IDeployResourceCommandBuilderStep2 AddResourceStringUtf8 (string resourceString, string resourceName)
 Add the given resource to the deployment. More...
 
IDeployResourceCommandBuilderStep2 AddResourceStream (Stream resourceStream, string resourceName)
 Add the given resource to the deployment. More...
 
IDeployResourceCommandBuilderStep2 AddResourceFile (string filename)
 Add the given resource to the deployment. More...
 

Member Function Documentation

◆ AddResourceBytes()

IDeployResourceCommandBuilderStep2 Zeebe.Client.Api.Commands.IDeployResourceCommandStep1.AddResourceBytes ( byte[]  resourceBytes,
string  resourceName 
)

Add the given resource to the deployment.

Parameters
resourceBytesthe resource as byte array
resourceNamethe name of the resource (e.g. "process.bpmn")
Returns
the builder for this command. Call IFinalCommandStep<T>.Send to complete the command and send it to the broker.

◆ AddResourceFile()

IDeployResourceCommandBuilderStep2 Zeebe.Client.Api.Commands.IDeployResourceCommandStep1.AddResourceFile ( string  filename)

Add the given resource to the deployment.

Parameters
filenamethe absolute path of the resource (e.g. "~/wf/process.bpmn")
Returns
the builder for this command. Call IFinalCommandStep<T>.Send to complete the command and send it to the broker.

◆ AddResourceStream()

IDeployResourceCommandBuilderStep2 Zeebe.Client.Api.Commands.IDeployResourceCommandStep1.AddResourceStream ( Stream  resourceStream,
string  resourceName 
)

Add the given resource to the deployment.

Parameters
resourceStreamthe resource as stream
resourceNamethe name of the resource (e.g. "process.bpmn")
Returns
the builder for this command. Call IFinalCommandStep<T>.Send to complete the command and send it to the broker.

◆ AddResourceString()

IDeployResourceCommandBuilderStep2 Zeebe.Client.Api.Commands.IDeployResourceCommandStep1.AddResourceString ( string  resourceString,
Encoding  encoding,
string  resourceName 
)

Add the given resource to the deployment.

Parameters
resourceStringthe resource as String
encodingthe charset of the String
resourceNamethe name of the resource (e.g. "process.bpmn")
Returns
the builder for this command. Call IFinalCommandStep<T>.Send to complete the command and send it to the broker.

◆ AddResourceStringUtf8()

IDeployResourceCommandBuilderStep2 Zeebe.Client.Api.Commands.IDeployResourceCommandStep1.AddResourceStringUtf8 ( string  resourceString,
string  resourceName 
)

Add the given resource to the deployment.

Parameters
resourceStringthe resource as UTF-8-encoded String
resourceNamethe name of the resource (e.g. "process.bpmn")
Returns
the builder for this command. Call IFinalCommandStep<T>.Send to complete the command and send it to the broker.

The documentation for this interface was generated from the following file: