1 #set( $symbol_pound = '#' )
2 #set( $symbol_dollar = '$' )
3 #set( $symbol_escape = '\' )
5 * Copyright © ${copyrightYear} ${copyright} and others. All rights reserved.
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
9 * and is available at http://www.eclipse.org/legal/epl-v10.html
11 package ${package}.cli.impl;
13 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
14 import org.slf4j.Logger;
15 import org.slf4j.LoggerFactory;
16 import ${package}.cli.api.${classPrefix}CliCommands;
18 public class ${classPrefix}CliCommandsImpl implements ${classPrefix}CliCommands {
20 private static final Logger LOG = LoggerFactory.getLogger(${classPrefix}CliCommandsImpl.class);
21 private final DataBroker dataBroker;
23 public ${classPrefix}CliCommandsImpl(final DataBroker db) {
25 LOG.info("${classPrefix}CliCommandImpl initialized");
29 public Object testCommand(Object testArgument) {
30 return "This is a test implementation of test-command";