flow

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FLOW_REF = "github.com/TIBCOSoftware/flogo-contrib/action/flow"
)

Variables

This section is empty.

Functions

func SetExtensionProvider

func SetExtensionProvider(provider ExtensionProvider)

Types

type ActionOptions

type ActionOptions struct {
	MaxStepCount int
	Record       bool
}

ActionOptions are the options for the FlowAction

type ExtensionProvider

type ExtensionProvider interface {
	GetFlowProvider() provider.Provider
	GetFlowModel() *model.FlowModel
	GetStateRecorder() instance.StateRecorder
	GetMapperFactory() definition.MapperFactory
	GetLinkExprManagerFactory() definition.LinkExprManagerFactory
	GetFlowTester() *tester.RestEngineTester
}

Provides the different extension points to the Flow Action

type Flavor

type Flavor struct {
	// The flow is embedded and uncompressed
	Flow json.RawMessage `json:"flow"`
	// The flow is a URI
	FlowCompressed json.RawMessage `json:"flowCompressed"`
	// The flow is a URI
	FlowURI json.RawMessage `json:"flowURI"`
}

type FlowAction

type FlowAction struct {
	// contains filtered or unexported fields
}

func (*FlowAction) Config

func (fa *FlowAction) Config() *action.Config

Config get the Action's config

func (*FlowAction) Metadata

func (fa *FlowAction) Metadata() *action.Metadata

Metadata get the Action's metadata

func (*FlowAction) Run

func (fa *FlowAction) Run(context context.Context, inputs []*data.Attribute, options map[string]interface{}, handler action.ResultHandler) error

Run implements action.Action.Run func (fa *FlowAction) Run(context context.Context, uri string, options interface{}, handler action.ResultHandler) error {

type FlowFactory

type FlowFactory struct{}

func (*FlowFactory) New

func (ff *FlowFactory) New(config *action.Config) action.Action

Directories

Path Synopsis
script

Jump to

Keyboard shortcuts

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