Replace project-specific checkstyle by odlparent's
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / protocol / serialization / MatchEntrySerializer.java
1 /*
2  * Copyright (c) 2016 Pantheon Technologies s.r.o. 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.openflowplugin.api.openflow.protocol.serialization;
10
11 import org.opendaylight.openflowjava.protocol.api.extensibility.OFSerializer;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.Match;
13
14 public interface MatchEntrySerializer extends OFSerializer<Match> {
15
16     /**
17      * Checks if current match is this match type
18      * @param match Openflow match
19      * @return true if matched
20      */
21     boolean matchTypeCheck(final Match match);
22
23 }