Class Subscription
java.lang.Object
org.opentestfactory.messages.OTFMessage
org.opentestfactory.services.components.bus.subscription.Subscription
public class Subscription
extends org.opentestfactory.messages.OTFMessage
Specification of a subscription to the event bus.
- Author:
- edegenetais
-
Field Summary
Fields inherited from class org.opentestfactory.messages.OTFMessage
apiVersion, WORKFLOW_ID_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSpec()name()voidsetSpec(Specification spec) withCategory(org.opentestfactory.messages.Category c) static SubscriptionwithEndpoint(String name, URL endpoint) withMatchField(String field, String value) withMatchFieldExpression(List<Map<String, String>> fieldExpressions) withMatchKind(String kind) withMatchLabel(String label, String value) Methods inherited from class org.opentestfactory.messages.OTFMessage
addMetadata, checkKind, equals, getApiVersion, getKind, getMetadata, hashCode, setApiVersion, setMetadata
-
Constructor Details
-
Subscription
-
-
Method Details
-
name
-
withEndpoint
-
withMatchKind
-
withMatchLabel
-
withMatchField
-
withMatchFieldExpression
-
withCategory
-
getSpec
-
setSpec
-