Class DummyController

    • Constructor Detail

      • DummyController

        protected DummyController​(java.lang.String id,
                                  java.lang.String alias,
                                  ChannelId[] firstInitialChannelIds,
                                  ChannelId[]... furtherInitialChannelIds)
      • DummyController

        public DummyController​(java.lang.String id)
      • DummyController

        public DummyController​(java.lang.String id,
                               java.lang.String alias)
    • Method Detail

      • withRunCallback

        public DummyController withRunCallback​(java.lang.Runnable callback)
        Set callback for applyPower() of this DummyController.
        Parameters:
        callback - the callback
        Returns:
        myself
      • run

        public void run()
        Description copied from interface: Controller
        Executes the Controller logic.
        Specified by:
        run in interface Controller