Documentation ¶
Index ¶
- Constants
- func GetFlowManager() *support.FlowManager
- func SetExtensionProvider(provider ExtensionProvider)
- type ActionData
- type ActionFactory
- type DefaultExtensionProvider
- func (fp *DefaultExtensionProvider) GetDefaultFlowModel() *model.FlowModel
- func (fp *DefaultExtensionProvider) GetFlowProvider() definition.Provider
- func (fp *DefaultExtensionProvider) GetFlowTester() *tester.RestEngineTester
- func (fp *DefaultExtensionProvider) GetLinkExprManagerFactory() definition.LinkExprManagerFactory
- func (fp *DefaultExtensionProvider) GetMapperFactory() definition.MapperFactory
- func (fp *DefaultExtensionProvider) GetStateRecorder() instance.StateRecorder
- type ExtensionProvider
- type FlowAction
Constants ¶
View Source
const ( FLOW_REF = "github.com/TIBCOSoftware/flogo-contrib/action/flow" ENV_FLOW_RECORD = "FLOGO_FLOW_RECORD" )
Variables ¶
This section is empty.
Functions ¶
func GetFlowManager ¶ added in v0.5.2
func GetFlowManager() *support.FlowManager
func SetExtensionProvider ¶
func SetExtensionProvider(provider ExtensionProvider)
Types ¶
type ActionData ¶ added in v0.5.2
type ActionData struct { // The flow is a URI FlowURI string `json:"flowURI"` // The flow is embedded and uncompressed //DEPRECATED Flow json.RawMessage `json:"flow"` // The flow is a URI //DEPRECATED FlowCompressed json.RawMessage `json:"flowCompressed"` }
type ActionFactory ¶ added in v0.5.2
type ActionFactory struct { }
func (*ActionFactory) Init ¶ added in v0.5.2
func (ff *ActionFactory) Init() error
type DefaultExtensionProvider ¶ added in v0.5.2
type DefaultExtensionProvider struct {
// contains filtered or unexported fields
}
ExtensionProvider is the extension provider for the flow action
func NewDefaultExtensionProvider ¶ added in v0.5.2
func NewDefaultExtensionProvider() *DefaultExtensionProvider
func (*DefaultExtensionProvider) GetDefaultFlowModel ¶ added in v0.5.2
func (fp *DefaultExtensionProvider) GetDefaultFlowModel() *model.FlowModel
func (*DefaultExtensionProvider) GetFlowProvider ¶ added in v0.5.2
func (fp *DefaultExtensionProvider) GetFlowProvider() definition.Provider
func (*DefaultExtensionProvider) GetFlowTester ¶ added in v0.5.2
func (fp *DefaultExtensionProvider) GetFlowTester() *tester.RestEngineTester
todo make FlowTester an interface
func (*DefaultExtensionProvider) GetLinkExprManagerFactory ¶ added in v0.5.2
func (fp *DefaultExtensionProvider) GetLinkExprManagerFactory() definition.LinkExprManagerFactory
func (*DefaultExtensionProvider) GetMapperFactory ¶ added in v0.5.2
func (fp *DefaultExtensionProvider) GetMapperFactory() definition.MapperFactory
func (*DefaultExtensionProvider) GetStateRecorder ¶ added in v0.5.2
func (fp *DefaultExtensionProvider) GetStateRecorder() instance.StateRecorder
type ExtensionProvider ¶
type ExtensionProvider interface { GetStateRecorder() instance.StateRecorder GetFlowTester() *tester.RestEngineTester GetDefaultFlowModel() *model.FlowModel GetFlowProvider() definition.Provider GetMapperFactory() definition.MapperFactory GetLinkExprManagerFactory() definition.LinkExprManagerFactory }
Provides the different extension points to the FlowBehavior Action
type FlowAction ¶
type FlowAction struct {
// contains filtered or unexported fields
}
func (*FlowAction) IOMetadata ¶ added in v0.5.2
func (fa *FlowAction) IOMetadata() *data.IOMetadata
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 map[string]*data.Attribute, handler action.ResultHandler) error
Run implements action.Action.Run func (fa *FlowAction) Run(context context.Context, uri string, options interface{}, handler action.ResultHandler) error {
Click to show internal directories.
Click to hide internal directories.