X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fcommons%2Fconcepts%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconcepts%2Ftransform%2FSimpleConditionalTransformer.java;h=84770b71b19637b9e4f42852ac26fd2db5bb21e8;hb=refs%2Fchanges%2F69%2F27369%2F1;hp=81e43c39d1955cb54485c8977617a98055ea164f;hpb=59cc8f34c24d81a8890a94c11dedd4b21caa0adf;p=controller.git diff --git a/opendaylight/commons/concepts/src/main/java/org/opendaylight/controller/concepts/transform/SimpleConditionalTransformer.java b/opendaylight/commons/concepts/src/main/java/org/opendaylight/controller/concepts/transform/SimpleConditionalTransformer.java index 81e43c39d1..84770b71b1 100644 --- a/opendaylight/commons/concepts/src/main/java/org/opendaylight/controller/concepts/transform/SimpleConditionalTransformer.java +++ b/opendaylight/commons/concepts/src/main/java/org/opendaylight/controller/concepts/transform/SimpleConditionalTransformer.java @@ -1,38 +1,38 @@ -/* - * 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.transform; - -/** - * 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); -} +/* + * 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.transform; + +/** + * 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); +}