public interface Instruction
Instruction
s will be executed by
realisations of InstructionExecutor
.
Instruction
s describe their objective in a very abstract way. It is up to the
InstructionExecutor
to decide how to act upon this instruction in a manner that fits with
the current environment. An Instruction
does not specify the execution process as such;
it only describes the goal to be reached and provides the necessary key data therefore.
Instruction
s are intended as immutable value objects. Implementations must
provide useful equals() and hashCode() methods. A decent toString() implementation is encouraged.
Modifier and Type | Method and Description |
---|---|
String |
getType() |
String getType()
Copyright © 2024 levigo holding gmbh. All rights reserved.