org.bidib.wizard.common.script.switching.QueryFeedbackAndExpectCommand Maven / Gradle / Ivy
package org.bidib.wizard.common.script.switching;
import java.util.Scanner;
import org.apache.commons.lang3.StringUtils;
import org.bidib.jbidibc.messages.enums.LcOutputType;
import org.bidib.jbidibc.messages.utils.ByteUtils;
import org.bidib.wizard.api.context.ApplicationContext;
import org.bidib.wizard.api.model.NodeInterface;
import org.bidib.wizard.api.service.console.ConsoleService;
import org.bidib.wizard.common.script.AbstractScriptCommand;
import org.bidib.wizard.common.script.DefaultScriptContext;
import org.bidib.wizard.common.script.ScriptUtils;
import org.bidib.wizard.model.status.FeedbackPortStatus;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class QueryFeedbackAndExpectCommand extends AbstractScriptCommand {
private static final Logger LOGGER = LoggerFactory.getLogger(QueryFeedbackAndExpectCommand.class);
public static final String KEY = "feedbackQueryState";
public static final String HELP =
CODE_BLOCK_START + KEY + prepareHelpHtml(
" [--wait=] [--message=