All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vesalainen.nmea.script.ScriptObjectFactory Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
/*
 * Copyright (C) 2015 tkv
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */
package org.vesalainen.nmea.script;

import java.util.List;

/**
 *
 * @author tkv
 * @param 
 */
public interface ScriptObjectFactory
{
    public ScriptStatement createSender(String msg);

    public ScriptStatement createSender(String to, String msg);

    public ScriptStatement createSleeper(long millis);

    public ScriptStatement createKiller(String target);

    public ScriptStatement createIf(ScriptStatement expr, ScriptStatement successStat, ScriptStatement elseStat);

    public ScriptStatement createWhile(ScriptStatement expr, ScriptStatement stat);

    public ScriptStatement createBlock(List> sList);

    public ScriptStatement createLooper(int times, ScriptStatement stat);

    public ScriptStatement createWaiter(long millis, String msg);

    public ScriptStatement createRestarter();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy