Package org.peripheralware.karotz.publisher

Examples of org.peripheralware.karotz.publisher.KarotzActionPublisher.performAction()


      } else if (buildState.equals(BuildState.UNKNOWN)) {
        message = String.format("Bild Resultat ist unbekannt. %s.", committersText);
        changeLight(actionPublisher, BLUE);
        playSound(actionPublisher, UNKNOWN_SOUND, 23000);
      }
      actionPublisher.performAction(new SpeakAction(message, LANGUAGE));
      Thread.sleep(10000); // wait 10 seconds till karotz has surely finished talking.
      client.stopInteractiveMode();
    } catch (KarotzException e) {
      LOGGER.error("There was an error with Karotz.", e);
    } catch (InterruptedException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.