Class OTFMessage
java.lang.Object
org.opentestfactory.messages.OTFMessage
- Direct Known Subclasses:
GenericNotification, Status, WorkflowCanceled, WorkflowCancellation, WorkflowCompleted, WorkflowEvent
Base class for all OTF messages.
- Author:
- edegenetais
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMetadata(String key, Object value) voidThis is used to check message kind against toplevel message class.booleangetKind()inthashCode()voidsetApiVersion(String apiVersion) final voidsetMetadata(Map<String, Object> metadata)
-
Field Details
-
NAME_KEY
- See Also:
-
WORKFLOW_ID_KEY
- See Also:
-
apiVersion
-
-
Constructor Details
-
OTFMessage
-
-
Method Details
-
getKind
-
checkKind
This is used to check message kind against toplevel message class.- Parameters:
kind-
-
addMetadata
-
getMetadata
-
setMetadata
-
getApiVersion
-
setApiVersion
-
hashCode
-
equals
-