madl

package
v1.14.9 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMADLCommandInLine

func CheckMADLCommandInLine(s string, c string) bool

Types

type Attachment

type Attachment struct {
	C1 component.Component
	T  connectors.Connector
	C2 component.Component
}

type MADL

type MADL struct {
	Path          string
	FileName      string
	Configuration string
	Components    []component.Component
	Connectors    []connectors.Connector
	Attachments   []Attachment
	Adaptability  []string
	//AppAdaptability []string
	ConnMaps   map[string]connectors.Connector
	ActionMaps map[string]string
}

func (MADL) CountArity

func (m MADL) CountArity(id string, side int) int

func (MADL) GetConnector

func (m MADL) GetConnector(id string) connectors.Connector

func (MADL) IsComponentInAttachments

func (m MADL) IsComponentInAttachments(e component.Component) bool

func (MADL) IsConnectorInAttachments

func (m MADL) IsConnectorInAttachments(e connectors.Connector) bool

func (MADL) IsInComponents

func (m MADL) IsInComponents(e component.Component) bool

func (MADL) IsInConnectors

func (m MADL) IsInConnectors(e connectors.Connector) bool

func (MADL) PrintComponents

func (m MADL) PrintComponents()

type MADLChecker

type MADLChecker interface {
	SyntaxCheck(MADL)
	SemanticCheck(MADL, architectural.ArchitecturalRepositoryManager)
}

func NewMADLChecker

func NewMADLChecker() MADLChecker

type MADLCheckerImpl

type MADLCheckerImpl struct{}

func (MADLCheckerImpl) SemanticCheck

func (c MADLCheckerImpl) SemanticCheck(m MADL, archRepoManager architectural.ArchitecturalRepositoryManager)

func (MADLCheckerImpl) SyntaxCheck

func (MADLCheckerImpl) SyntaxCheck(m MADL)

type MADLConfigurator

type MADLConfigurator interface {
	ConfigureEE(*MADL, architectural.ArchitecturalRepository, map[string]messages.EndPoint, MADL)
	Configure(*MADL, architectural.ArchitecturalRepository, map[string]messages.EndPoint)
	// contains filtered or unexported methods
}

func NewMADLConfigurator

func NewMADLConfigurator() MADLConfigurator

type MADLConfiguratorImpl

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

func (MADLConfiguratorImpl) Configure

func (confImpl MADLConfiguratorImpl) Configure(m *MADL, archRepo architectural.ArchitecturalRepository, args map[string]messages.EndPoint)

Configure MADL

func (MADLConfiguratorImpl) ConfigureEE

func (confImpl MADLConfiguratorImpl) ConfigureEE(m *MADL, archRepo architectural.ArchitecturalRepository, args map[string]messages.EndPoint, madl MADL)

type MADLLoader

type MADLLoader interface {
	Load(string) MADL
}

func NewMADLLoader

func NewMADLLoader() MADLLoader

type MADLLoaderImpl

type MADLLoaderImpl struct{}

func (MADLLoaderImpl) Load

func (m MADLLoaderImpl) Load(fileName string) MADL

Jump to

Keyboard shortcuts

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