|
| 1 | +/* |
| 2 | + Copyright 2018 Ericsson AB. |
| 3 | + For a full list of individual contributors, please see the commit history. |
| 4 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + you may not use this file except in compliance with the License. |
| 6 | + You may obtain a copy of the License at |
| 7 | +
|
| 8 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + Unless required by applicable law or agreed to in writing, software |
| 10 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + See the License for the specific language governing permissions and |
| 13 | + limitations under the License. |
| 14 | +*/ |
| 15 | +package com.ericsson.eiffel.remrem.semantics; |
| 16 | + |
| 17 | +import com.ericsson.eiffel.remrem.semantics.schemas.EiffelConstants; |
| 18 | + |
| 19 | +public enum RoutingKeyFamilies { |
| 20 | + |
| 21 | + EiffelActivityCanceledEvent(EiffelConstants.ACTIVITY), |
| 22 | + EiffelActivityFinishedEvent(EiffelConstants.ACTIVITY), |
| 23 | + EiffelActivityStartedEvent(EiffelConstants.ACTIVITY), |
| 24 | + EiffelActivityTriggeredEvent(EiffelConstants.ACTIVITY), |
| 25 | + EiffelAnnouncementPublishedEvent(EiffelConstants.ANNOUNCEMENT), |
| 26 | + EiffelArtifactCreatedEvent(EiffelConstants.ARTIFACT), |
| 27 | + EiffelArtifactPublishedEvent(EiffelConstants.ARTIFACT), |
| 28 | + EiffelArtifactReusedEvent(EiffelConstants.ARTIFACT), |
| 29 | + EiffelCompositionDefinedEvent(EiffelConstants.CM), |
| 30 | + EiffelConfidenceLevelModifiedEvent(EiffelConstants.ARTIFACT), |
| 31 | + EiffelEnvironmentDefinedEvent(EiffelConstants.CM), |
| 32 | + EiffelFlowContextDefinedEvent(EiffelConstants.FLOWCONTEXT), |
| 33 | + EiffelIssueVerifiedEvent(EiffelConstants.TEST), |
| 34 | + EiffelSourceChangeCreatedEvent(EiffelConstants.CM), |
| 35 | + EiffelSourceChangeSubmittedEvent(EiffelConstants.CM), |
| 36 | + EiffelTestCaseCanceledEvent(EiffelConstants.TEST), |
| 37 | + EiffelTestCaseTriggeredEvent(EiffelConstants.TEST), |
| 38 | + EiffelTestCaseFinishedEvent(EiffelConstants.TEST), |
| 39 | + EiffelTestCaseStartedEvent(EiffelConstants.TEST), |
| 40 | + EiffelTestSuiteFinishedEvent(EiffelConstants.TEST), |
| 41 | + EiffelTestSuiteStartedEvent(EiffelConstants.TEST), |
| 42 | + EiffelTestExecutionRecipeCollectionCreatedEvent(EiffelConstants.TEST), |
| 43 | + EiffelAlertAcknowledgedEvent(EiffelConstants.ALERT), |
| 44 | + EiffelArtifactDeployedEvent(EiffelConstants.ARTIFACT), |
| 45 | + EiffelServiceAllocatedEvent(EiffelConstants.SERVICE), |
| 46 | + EiffelServiceDeployedEvent(EiffelConstants.SERVICE), |
| 47 | + EiffelServiceDiscontinuedEvent(EiffelConstants.SERVICE), |
| 48 | + EiffelServiceReturnedEvent(EiffelConstants.SERVICE), |
| 49 | + EiffelServiceStartedEvent(EiffelConstants.SERVICE), |
| 50 | + EiffelServiceStoppedEvent(EiffelConstants.SERVICE), |
| 51 | + EiffelAlertRaisedEvent(EiffelConstants.ALERT), |
| 52 | + EiffelAlertCeasedEvent(EiffelConstants.ALERT), |
| 53 | + EiffelIssueDefinedEvent(EiffelConstants.TEST); |
| 54 | + |
| 55 | + |
| 56 | + private final String family; // family |
| 57 | + |
| 58 | + RoutingKeyFamilies(String family) { |
| 59 | + this.family = family; |
| 60 | + } |
| 61 | + |
| 62 | + public String getFamily() { |
| 63 | + return family; |
| 64 | + } |
| 65 | +} |
0 commit comments