+++ /dev/null
-/*\r
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.controller.concepts.tranform;\r
-\r
-import java.util.Set;\r
-\r
-/**\r
- * Transformer with set of acceptance rules\r
- * \r
- * The transformer provides a set of {@link Acceptor}s, which could be used to\r
- * verify if the input will produce result using the transformer.\r
- * \r
- * The transormer is able to produce result if ANY of associated\r
- * {@link Acceptor}s accepted result.\r
- * \r
- * @author Tony Tkacik\r
- * \r
- * @param <I>\r
- * Input class for transformation\r
- * @param <P>\r
- * Product of transformation\r
- */\r
-public interface RuleBasedTransformer<I, P> extends Transformer<I, P> {\r
-\r
- /**\r
- * Set of {@link Acceptor}, which could be used to verify if the input is\r
- * usable by transformer.\r
- * \r
- * The transformer is able to produce result if ANY of associated\r
- * {@link Acceptor}s accepted result.\r
- * \r
- * @return Set of input acceptance rules associated to this transformer.\r
- */\r
- Set<Acceptor<I>> getRules();\r
-\r
-}\r