blob: c34e80eb4940038684f09293af32b3412d86f76b [file] [log] [blame]
Brian O'Connorbd7f8782015-11-19 23:12:37 -08001/*
Thomas Vachuska52f2cd12018-11-08 21:20:04 -08002 * Copyright 2018-present Open Networking Foundation
Brian O'Connorbd7f8782015-11-19 23:12:37 -08003 *
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 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.incubator.net.domain;
17
18import org.onosproject.event.AbstractEvent;
19
20/**
21 * Describes an intent domain event.
22 */
23public class IntentDomainEvent
24 extends AbstractEvent<IntentDomainEvent.Type, IntentDomain> {
25
26 public enum Type {
27 DOMAIN_ADDED,
28 DOMAIN_MODIFIED,
29 DOMAIN_REMOVED
30 }
31
32 protected IntentDomainEvent(Type type, IntentDomain subject) {
33 super(type, subject);
34 }
35}