Class SepiaRoutingKeyProvider
- java.lang.Object
-
- com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.routingkeys.RoutingKeyProvider
-
- com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.routingkeys.SepiaRoutingKeyProvider
-
- All Implemented Interfaces:
Describable<RoutingKeyProvider>
,Serializable
public class SepiaRoutingKeyProvider extends RoutingKeyProvider
A routing key provider that produces AMQP routing keys that adhere to the message broker requirements in Sepia (Sepia Eiffel Protocol Implementation Architecture).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SepiaRoutingKeyProvider.SepiaRoutingKeyProviderDescriptor
Descriptor forSepiaRoutingKeyProvider
.-
Nested classes/interfaces inherited from class com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.routingkeys.RoutingKeyProvider
RoutingKeyProvider.RoutingKeyProviderDescriptor
-
-
Constructor Summary
Constructors Constructor Description SepiaRoutingKeyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Descriptor<RoutingKeyProvider>
getDescriptor()
String
getRoutingKey(EiffelEvent event)
Computes the routing key for an event.String
getTag()
void
setTag(String tag)
-
-
-
Method Detail
-
getRoutingKey
@NonNull public String getRoutingKey(EiffelEvent event)
Computes the routing key for an event.- Specified by:
getRoutingKey
in classRoutingKeyProvider
- Parameters:
event
- theEiffelEvent
whose routing key is wanted- Returns:
- a string consisting of one or more dot-separated tokens that's usable as a routing key
-
getTag
public String getTag()
-
setTag
@DataBoundSetter public void setTag(String tag)
-
getDescriptor
public Descriptor<RoutingKeyProvider> getDescriptor()
-
-