2 * Copyright (c) 2017 Ericsson Inc. and others. All rights reserved.
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
9 package org.opendaylight.netvirt.sfc.classifier.service.domain.api;
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
17 public interface ClassifierRenderableEntry {
20 * Render the entry using the provided {@code ClassifierEntryRenderer}.
22 * @param classifierEntryRenderer the renderer.
24 void render(ClassifierEntryRenderer classifierEntryRenderer);
27 * Suppress the entry using the provided {@code ClassifierEntryRenderer}.
29 * @param classifierEntryRenderer the renderer.
31 void suppress(ClassifierEntryRenderer classifierEntryRenderer);