X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fconcepts-lang%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconcepts%2Flang%2FSimpleConditionalTransformer.java;fp=opendaylight%2Fsal%2Fyang-prototype%2Fconcepts-lang%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconcepts%2Flang%2FSimpleConditionalTransformer.java;h=0000000000000000000000000000000000000000;hb=6990871b68adfd57b4cdd218ba797b641f6f9562;hp=d5146677a91e781e9d0c2c94b8d98e93efff4556;hpb=c44438579115a5e89139a2ef1afed2037acbfa06;p=controller.git diff --git a/opendaylight/sal/yang-prototype/concepts-lang/src/main/java/org/opendaylight/controller/concepts/lang/SimpleConditionalTransformer.java b/opendaylight/sal/yang-prototype/concepts-lang/src/main/java/org/opendaylight/controller/concepts/lang/SimpleConditionalTransformer.java deleted file mode 100644 index d5146677a9..0000000000 --- a/opendaylight/sal/yang-prototype/concepts-lang/src/main/java/org/opendaylight/controller/concepts/lang/SimpleConditionalTransformer.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.controller.concepts.lang; -/** - * Simple condition-based transformer - * - * The transformer provides {@link #isAcceptable(Object)} method, - * which could be used to query transformer if the input will produce - * result. - * - * This interface is simplified version of {@link RuleBasedTransformer} - does not - * provide decoupling of Acceptance rule from transformer, and should be used only - * for simple use-cases. - * - * @author Tony Tkacik - * - * @param Input class for transformation - * @param

Product of transformation - */ -public interface SimpleConditionalTransformer extends Transformer, Acceptor { - - - /** - * Checks if the input is acceptable - * for processing by the transformer. - * - * @return true it the input is acceptable for processing by transformer. - */ - @Override - public boolean isAcceptable(I input); -}