parse

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractActivityBpmnParseHandler

type AbstractActivityBpmnParseHandler struct {
	AbstractBpmnParseHandler
}

func (AbstractActivityBpmnParseHandler) Parse

func (abstractBpmnParse AbstractActivityBpmnParseHandler) Parse(bpmnParse *BpmnParse, element delegate.BaseElement)

type AbstractBpmnParseHandler

type AbstractBpmnParseHandler struct {
	ParseHandler
}

func (AbstractBpmnParseHandler) GetHandledTypes

func (abstractBpmnParse AbstractBpmnParseHandler) GetHandledTypes() []string

func (AbstractBpmnParseHandler) Parse

func (abstractBpmnParse AbstractBpmnParseHandler) Parse(bpmnParse *BpmnParse, element delegate.BaseElement)

type BpmnParse

type BpmnParse struct {
	Name                    string
	Byte                    []byte
	DeploymentEntity        DeploymentEntity
	ActivityBehaviorFactory factory.ActivityBehaviorFactory
	BpmnParserHandlers      BpmnParseHandlers
	BpmnModel               *BpmnModel

	CurrentProcess *Process
	// contains filtered or unexported fields
}

func (BpmnParse) Deployment

func (bpmnParse BpmnParse) Deployment(deployment DeploymentEntity) BpmnParse

func (*BpmnParse) Execute

func (bpmnParse *BpmnParse) Execute()

func (*BpmnParse) GetCurrentFlowElement

func (bpmnParse *BpmnParse) GetCurrentFlowElement() delegate.FlowElement

func (*BpmnParse) ProcessFlowElements

func (bpmnParse *BpmnParse) ProcessFlowElements(flowElements []delegate.FlowElement)

func (*BpmnParse) SetCurrentFlowElement

func (bpmnParse *BpmnParse) SetCurrentFlowElement(currentFlowElement delegate.FlowElement)

func (BpmnParse) SourceInputStream

func (bpmnParse BpmnParse) SourceInputStream(byte []byte) BpmnParse

func (BpmnParse) SourceName

func (bpmnParse BpmnParse) SourceName(name string) BpmnParse

type BpmnParseFactory

type BpmnParseFactory interface {
	CreateBpmnParse(bpmnParser BpmnParser) BpmnParse
}

type BpmnParseHandler

type BpmnParseHandler interface {
	GetHandledTypes() []string

	Parse(bpmnParse *BpmnParse, flow delegate.BaseElement)
}

type BpmnParseHandlers

type BpmnParseHandlers struct {
	ParseHandlers map[string][]BpmnParseHandler
}

func NewBpmnParseHandlers

func NewBpmnParseHandlers() BpmnParseHandlers

func (BpmnParseHandlers) AddHandler

func (bpmnParseHandlers BpmnParseHandlers) AddHandler(bpmnParseHandler BpmnParseHandler)

func (BpmnParseHandlers) AddHandlers

func (bpmnParseHandlers BpmnParseHandlers) AddHandlers(handlers []BpmnParseHandler)

func (BpmnParseHandlers) ParseElement

func (bpmnParseHandlers BpmnParseHandlers) ParseElement(bpmnParse *BpmnParse, element delegate.BaseElement)

type BpmnParser

type BpmnParser struct {
	ActivityBehaviorFactory factory.ActivityBehaviorFactory
	BpmnParserHandlers      BpmnParseHandlers
	BpmnParseFactory        BpmnParseFactory
}

func (BpmnParser) CreateParse

func (bpmnParser BpmnParser) CreateParse() BpmnParse

func (BpmnParser) GetActivityBehaviorFactory

func (bpmnParser BpmnParser) GetActivityBehaviorFactory() factory.ActivityBehaviorFactory

func (BpmnParser) GetBpmnParserHandlers

func (bpmnParser BpmnParser) GetBpmnParserHandlers() BpmnParseHandlers

func (BpmnParser) SetActivityBehaviorFactory

func (bpmnParser BpmnParser) SetActivityBehaviorFactory(activityBehaviorFactory factory.ActivityBehaviorFactory)

func (BpmnParser) SetBpmnParserHandlers

func (bpmnParser BpmnParser) SetBpmnParserHandlers(bpmnParseHandlers BpmnParseHandlers)

type ConditionalEventDefinitionParseHandler

type ConditionalEventDefinitionParseHandler struct {
	AbstractActivityBpmnParseHandler
}

func (ConditionalEventDefinitionParseHandler) ExecuteParse

func (conditionalEventDefinitionParseHandler ConditionalEventDefinitionParseHandler) ExecuteParse(bpmnParse *BpmnParse, baseElement delegate.BaseElement)

func (ConditionalEventDefinitionParseHandler) GetHandledType

func (conditionalEventDefinitionParseHandler ConditionalEventDefinitionParseHandler) GetHandledType() string

type DefaultBpmnParseFactory

type DefaultBpmnParseFactory struct {
}

func (DefaultBpmnParseFactory) CreateBpmnParse

func (DefaultBpmnParseFactory) CreateBpmnParse(bpmnParser BpmnParser) BpmnParse

type ExclusiveGatewayParseHandler

type ExclusiveGatewayParseHandler struct {
	AbstractActivityBpmnParseHandler
}

func (ExclusiveGatewayParseHandler) ExecuteParse

func (exclusiveGatewayParseHandler ExclusiveGatewayParseHandler) ExecuteParse(bpmnParse *BpmnParse, baseElement delegate.BaseElement)

func (ExclusiveGatewayParseHandler) GetHandledType

func (exclusiveGatewayParseHandler ExclusiveGatewayParseHandler) GetHandledType() string

type InclusiveGatewayParseHandler

type InclusiveGatewayParseHandler struct {
	AbstractActivityBpmnParseHandler
}

func (InclusiveGatewayParseHandler) ExecuteParse

func (inclusiveGatewayParseHandler InclusiveGatewayParseHandler) ExecuteParse(bpmnParse *BpmnParse, baseElement delegate.BaseElement)

func (InclusiveGatewayParseHandler) GetHandledType

func (inclusiveGatewayParseHandler InclusiveGatewayParseHandler) GetHandledType() string

type IntermediateCatchEventParseHandler

type IntermediateCatchEventParseHandler struct {
	AbstractActivityBpmnParseHandler
}

func (IntermediateCatchEventParseHandler) ExecuteParse

func (eventParseHandler IntermediateCatchEventParseHandler) ExecuteParse(bpmnParse *BpmnParse, baseElement delegate.BaseElement)

func (IntermediateCatchEventParseHandler) GetHandledType

func (eventParseHandler IntermediateCatchEventParseHandler) GetHandledType() string

type ParallelGatewayParseHandler

type ParallelGatewayParseHandler struct {
	AbstractActivityBpmnParseHandler
}

func (ParallelGatewayParseHandler) ExecuteParse

func (parallelGatewayParseHandler ParallelGatewayParseHandler) ExecuteParse(bpmnParse *BpmnParse, baseElement delegate.BaseElement)

func (ParallelGatewayParseHandler) GetHandledType

func (parallelGatewayParseHandler ParallelGatewayParseHandler) GetHandledType() string

type ParseHandler

type ParseHandler interface {
	GetHandledType() string

	ExecuteParse(bpmnParse *BpmnParse, element delegate.BaseElement)
}

type ParsedDeployment

type ParsedDeployment struct {
	BpmnParse BpmnParse
}

type ParsedDeploymentBuilder

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

func NewParsedDeploymentBuilder

func NewParsedDeploymentBuilder(deployment entitymanager.DeploymentEntity, bpmnParser *BpmnParser, deploymentSettings map[string]interface{}) ParsedDeploymentBuilder

func (ParsedDeploymentBuilder) Build

func (parsedDeploymentBuilder ParsedDeploymentBuilder) Build() ParsedDeployment

type ParsedDeploymentBuilderFactory

type ParsedDeploymentBuilderFactory struct {
	BpmnParser *BpmnParser
}

func (ParsedDeploymentBuilderFactory) GetBuilderForDeploymentAndSettings

func (parsedDeploymentBuilderFactory ParsedDeploymentBuilderFactory) GetBuilderForDeploymentAndSettings(deployment entitymanager.DeploymentEntity, deploymentSettings map[string]interface{}) ParsedDeploymentBuilder

type ProcessParseHandler

type ProcessParseHandler struct {
	AbstractActivityBpmnParseHandler
}

func (ProcessParseHandler) ExecuteParse

func (processParseHandler ProcessParseHandler) ExecuteParse(bpmnParse *BpmnParse, flow delegate.BaseElement)

func (ProcessParseHandler) GetHandledType

func (processParseHandler ProcessParseHandler) GetHandledType() string

type SequenceFlowParseHandler

type SequenceFlowParseHandler struct {
	AbstractActivityBpmnParseHandler
}

func (SequenceFlowParseHandler) ExecuteParse

func (sequenceFlowParseHandler SequenceFlowParseHandler) ExecuteParse(bpmnParse *BpmnParse, flow delegate.BaseElement)

func (SequenceFlowParseHandler) GetHandledType

func (sequenceFlowParseHandler SequenceFlowParseHandler) GetHandledType() string

type StartEventParseHandler

type StartEventParseHandler struct {
	AbstractActivityBpmnParseHandler
}

func (StartEventParseHandler) ExecuteParse

func (startEventParseHandler StartEventParseHandler) ExecuteParse(bpmnParse *BpmnParse, flow delegate.BaseElement)

func (StartEventParseHandler) GetHandledType

func (startEventParseHandler StartEventParseHandler) GetHandledType() string

type UserTaskParseHandler

type UserTaskParseHandler struct {
	AbstractActivityBpmnParseHandler
}

func (UserTaskParseHandler) ExecuteParse

func (userTaskParseHandler UserTaskParseHandler) ExecuteParse(bpmnParse *BpmnParse, baseElement delegate.BaseElement)

func (UserTaskParseHandler) GetHandledType

func (userTaskParseHandler UserTaskParseHandler) GetHandledType() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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