entities

package
v8.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 13

Documentation

Overview

Package entities contains representations of Zeebe entities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	*pb.ActivatedJob
}

Job represents a single work item of a process.

See https://docs.camunda.io/docs/product-manuals/concepts/job-workers/#job-queueing for details on jobs.

func (*Job) GetCustomHeadersAs

func (j *Job) GetCustomHeadersAs(t interface{}) error

GetCustomHeadersAs unmarshals the JSON representation of a process's custom headers into type t.

Unlike variables, custom headers are specific to a process, as opposed to a process instance.

func (*Job) GetCustomHeadersAsMap

func (j *Job) GetCustomHeadersAsMap() (map[string]string, error)

GetCustomHeadersAsMap returns a map of a process's custom headers.

Unlike variables, custom headers are specific to a process, as opposed to a process instance.

func (*Job) GetVariablesAs

func (j *Job) GetVariablesAs(t interface{}) error

GetVariablesAs unmarshals the JSON representation of a process instance's variables into type t.

See https://docs.camunda.io/docs/product-manuals/concepts/variables for details on process variables.

func (*Job) GetVariablesAsMap

func (j *Job) GetVariablesAsMap() (map[string]interface{}, error)

GetVariablesAsMap returns a map of a process instance's variables.

See https://docs.camunda.io/docs/product-manuals/concepts/variables for details on process variables.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL