command

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MacroCommandTestCommand

type MacroCommandTestCommand struct {
	command.MacroCommand
}

MacroCommandTestCommand A MacroCommand subclass used by MacroCommandTest.

func (*MacroCommandTestCommand) Execute

func (self *MacroCommandTestCommand) Execute(notification interfaces.INotification)

func (*MacroCommandTestCommand) InitializeMacroCommand

func (self *MacroCommandTestCommand) InitializeMacroCommand()

InitializeMacroCommand Initialize the MacroCommandTestCommand by adding its 2 SubCommands.

type MacroCommandTestSub1Command

type MacroCommandTestSub1Command struct {
	command.MacroCommand
}

func (*MacroCommandTestSub1Command) Execute

func (self *MacroCommandTestSub1Command) Execute(notification interfaces.INotification)

Execute Fabricate a result by multiplying the input by 2

- parameter event: the IEvent carrying the MacroCommandTestVO

type MacroCommandTestSub2Command

type MacroCommandTestSub2Command struct {
	command.MacroCommand
}

func (*MacroCommandTestSub2Command) Execute

func (self *MacroCommandTestSub2Command) Execute(notification interfaces.INotification)

Execute Fabricate a result by multiplying the input by itself

- parameter event: the IEvent carrying the MacroCommandTestVO

type MacroCommandTestVO

type MacroCommandTestVO struct {
	Input   int
	Result1 int
	Result2 int
}

MacroCommandTestVO A utility class used by MacroCommandTest.

type SimpleCommandTestCommand

type SimpleCommandTestCommand struct {
}

SimpleCommandTestCommand A SimpleCommand subclass used by SimpleCommandTest.

func (*SimpleCommandTestCommand) Execute added in v1.1.0

func (self *SimpleCommandTestCommand) Execute(notification interfaces.INotification)

Execute Fabricate a result by multiplying the input by 2

- parameter event: the INotification carrying the SimpleCommandTestVO

type SimpleCommandTestVO

type SimpleCommandTestVO struct {
	Input  int
	Result int
}

SimpleCommandTestVO A utility class used by SimpleCommandTest.

Jump to

Keyboard shortcuts

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