NETVIRT-1637 CSIT failure
[netvirt.git] / sfc / classifier / impl / src / main / java / org / opendaylight / netvirt / sfc / classifier / service / domain / api / ClassifierRenderableEntry.java
1 /*
2  * Copyright (c) 2017 Ericsson Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.netvirt.sfc.classifier.service.domain.api;
10
11 /**
12  * A {@code ClassifierRenderableEntry} represents a unit of classifier
13  * information that may be used to consistently perform ("render")
14  * actions to southbound APIs that can also be consistently reversed
15  * ("suppress").
16  */
17 public interface ClassifierRenderableEntry {
18
19     /**
20      * Render the entry using the provided {@code ClassifierEntryRenderer}.
21      *
22      * @param classifierEntryRenderer the renderer.
23      */
24     void render(ClassifierEntryRenderer classifierEntryRenderer);
25
26     /**
27      * Suppress the entry using the provided {@code ClassifierEntryRenderer}.
28      *
29      * @param classifierEntryRenderer the renderer.
30      */
31     void suppress(ClassifierEntryRenderer classifierEntryRenderer);
32 }