Bug 4202: Migrate also toaster to use mdsal project
[controller.git] / opendaylight / commons / concepts / src / main / java / org / opendaylight / controller / concepts / transform / SimpleConditionalTransformer.java
index 4d0aa03e15cfda28584d4830948e07803dea8bcc..84770b71b19637b9e4f42852ac26fd2db5bb21e8 100644 (file)
@@ -1,38 +1,38 @@
-/*\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.transform;\r
-\r
-/**\r
- * Simple condition-based transformer\r
- *\r
- * The transformer provides {@link #isAcceptable(Object)} method,\r
- * which could be used to query transformer if the input will produce\r
- * result.\r
- *\r
- * This interface is simplified version of {@link RuleBasedTransformer} - does not\r
- * provide decoupling of Acceptance rule from transformer, and should be used only\r
- * for simple use-cases.\r
- *\r
- * @author Tony Tkacik\r
- *\r
- * @param <I> Input class for transformation\r
- * @param <P> Product of transformation\r
- */\r
-public interface SimpleConditionalTransformer<I,P> extends Transformer<I, P>, Acceptor<I> {\r
-\r
-\r
-    /**\r
-     * Checks if the input is acceptable\r
-     * for processing by the transformer.\r
-     *\r
-     * @return true it the input is acceptable for processing by transformer.\r
-     */\r
-    @Override\r
-    public boolean isAcceptable(I input);\r
-}\r
+/*
+ * 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 <I> Input class for transformation
+ * @param <P> Product of transformation
+ */
+public interface SimpleConditionalTransformer<I,P> extends Transformer<I, P>, Acceptor<I> {
+
+
+    /**
+     * 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);
+}