2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
9 package org.opendaylight.controller.concepts.transform;
\r
12 * Input class based transformer
\r
14 * {@link Transformer} which accepts / transforms only specific classes of
\r
15 * input, and is useful if the selection of transformer should be based on the
\r
16 * class of the input and there is one-to-one mapping between input class and
\r
20 * @author Tony Tkacik
\r
23 * Common supertype of input
\r
25 * Concrete type of input
\r
29 public interface InputClassBasedTransformer<S, I extends S, P> extends
\r
33 * Returns an {@link Class} of input which is acceptable for transformation.
\r
35 * @return {@link Class} of input which is acceptable for transformation.
\r
37 Class<? extends S> getInputClass();
\r