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

com.github.siwenyan.si.SiCommandExecutorElse Maven / Gradle / Ivy

There is a newer version: 1.25.1.0
Show newest version
package com.github.siwenyan.si;

class SiCommandExecutorElse extends SiCommandExecutor {

    @Override
    public void execute(SiCommand command, SiContext siContext) throws SiVerifyException {

        SiCommandIf cIf = (SiCommandIf) command.getPairInFront();
        siContext.getReporter().reportMessage("cIf.getIfTrue(): " + cIf.getIfTrue());
        if (cIf.getIfTrue()) {
            SiCommandEnd cEnd = (SiCommandEnd) command.getPairInBack();
            command.getSiTest().setCursor(cEnd.getIndexInTest());
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy