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 ¶
func GetFlowManager() *support.FlowManager
func SetExtensionProvider ¶
func SetExtensionProvider(provider ExtensionProvider)
Types ¶
type ActionData ¶
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 ¶
type ActionFactory struct { }
func (*ActionFactory) Init ¶
func (ff *ActionFactory) Init() error
type DefaultExtensionProvider ¶
type DefaultExtensionProvider struct {
// contains filtered or unexported fields
}
ExtensionProvider is the extension provider for the flow action
func NewDefaultExtensionProvider ¶
func NewDefaultExtensionProvider() *DefaultExtensionProvider
func (*DefaultExtensionProvider) GetDefaultFlowModel ¶
func (fp *DefaultExtensionProvider) GetDefaultFlowModel() *model.FlowModel
func (*DefaultExtensionProvider) GetFlowProvider ¶
func (fp *DefaultExtensionProvider) GetFlowProvider() definition.Provider
func (*DefaultExtensionProvider) GetFlowTester ¶
func (fp *DefaultExtensionProvider) GetFlowTester() *tester.RestEngineTester
todo make FlowTester an interface
func (*DefaultExtensionProvider) GetLinkExprManagerFactory ¶
func (fp *DefaultExtensionProvider) GetLinkExprManagerFactory() definition.LinkExprManagerFactory
func (*DefaultExtensionProvider) GetMapperFactory ¶
func (fp *DefaultExtensionProvider) GetMapperFactory() definition.MapperFactory
func (*DefaultExtensionProvider) GetStateRecorder ¶
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 ¶
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.