@Test public void testLiveActivityconfigure() { Map<String, String> configuration = Maps.newHashMap(); configuration.put("a", "b"); String uuid = "foo"; controller.configureLiveActivity(uuid, configuration); verify(liveActivityRuntime, times(1)).configureLiveActivity(uuid, configuration); }
@Override public void configureLiveActivity(String uuid, Map<String, String> configuration) { liveActivityRuntime.configureLiveActivity(uuid, configuration); }
StandardSpaceController extends BaseSpaceController implements SpaceControllerControl,
    LiveActivityStatusPublisher { @Override public void configureLiveActivity(String uuid, Map<String, String> configuration) { liveActivityRuntime.configureLiveActivity(uuid, configuration); } }
StandardSpaceController extends BaseSpaceController implements SpaceControllerControl,
    LiveActivityStatusPublisher { @Override public void configureLiveActivity(String uuid, Map<String, String> configuration) { liveActivityRuntime.configureLiveActivity(uuid, configuration); } StandardSpaceController(SpaceControllerActivityInstallationManager spaceControllerActivityInstaller,
      ContainerResourceDeploymentManager containerResourceDeploymentManager,
      SpaceControllerCommunicator spaceControllerCommunicator,
      SpaceControllerInfoPersister spaceControllerInfoPersister, InteractiveSpacesSystemControl spaceSystemControl,
      SpaceControllerDataBundleManager dataBundleManager,
      SpaceControllerConfigurationManager spaceControllerConfigurationManager,
      LiveActivityRuntime liveActivityRuntime, SequentialEventQueue eventQueue,
      InteractiveSpacesEnvironment spaceEnvironment); }
StandardSpaceController extends BaseSpaceController implements SpaceControllerControl,
    LiveActivityStatusPublisher { @Override public void configureLiveActivity(String uuid, Map<String, String> configuration) { liveActivityRuntime.configureLiveActivity(uuid, configuration); } StandardSpaceController(SpaceControllerActivityInstallationManager spaceControllerActivityInstaller,
      ContainerResourceDeploymentManager containerResourceDeploymentManager,
      SpaceControllerCommunicator spaceControllerCommunicator,
      SpaceControllerInfoPersister spaceControllerInfoPersister, InteractiveSpacesSystemControl spaceSystemControl,
      SpaceControllerDataBundleManager dataBundleManager,
      SpaceControllerConfigurationManager spaceControllerConfigurationManager,
      LiveActivityRuntime liveActivityRuntime, SequentialEventQueue eventQueue,
      InteractiveSpacesEnvironment spaceEnvironment); @Override void startup(); @Override void shutdown(); @Override void startupAllLiveActivities(); @Override void shutdownAllLiveActivities(); @Override void configureController(Map<String, String> configuration); @Override void captureControllerDataBundle(final String bundleUri); @Override void restoreControllerDataBundle(final String bundleUri); @Override void startupLiveActivity(String uuid); @Override void shutdownLiveActivity(final String uuid); @Override void statusLiveActivity(String uuid); @Override void activateLiveActivity(String uuid); @Override void deactivateLiveActivity(String uuid); @Override void configureLiveActivity(String uuid, Map<String, String> configuration); @Override void cleanLiveActivityTmpData(String uuid); @Override void cleanLiveActivityPermanentData(String uuid); @Override void cleanControllerTempData(); @Override void cleanControllerPermanentData(); @Override void cleanControllerTempDataAll(); @Override void cleanControllerPermanentDataAll(); @Override LiveActivityRunner getLiveActivityRunnerByUuid(String uuid); @Override void publishActivityStatus(final String uuid, final ActivityStatus status); @Override void shutdownControllerContainer(); @Override List<InstalledLiveActivity> getAllInstalledLiveActivities(); @Override ContainerResourceDeploymentQueryResponse handleContainerResourceDeploymentQueryRequest(
      ContainerResourceDeploymentQueryRequest request); @Override ContainerResourceDeploymentCommitResponse handleContainerResourceDeploymentCommitRequest(
      ContainerResourceDeploymentCommitRequest request); @Override LiveActivityDeploymentResponse installLiveActivity(LiveActivityDeploymentRequest request); @Override LiveActivityDeleteResponse deleteLiveActivity(LiveActivityDeleteRequest request); }
StandardSpaceController extends BaseSpaceController implements SpaceControllerControl,
    LiveActivityStatusPublisher { @Override public void configureLiveActivity(String uuid, Map<String, String> configuration) { liveActivityRuntime.configureLiveActivity(uuid, configuration); } StandardSpaceController(SpaceControllerActivityInstallationManager spaceControllerActivityInstaller,
      ContainerResourceDeploymentManager containerResourceDeploymentManager,
      SpaceControllerCommunicator spaceControllerCommunicator,
      SpaceControllerInfoPersister spaceControllerInfoPersister, InteractiveSpacesSystemControl spaceSystemControl,
      SpaceControllerDataBundleManager dataBundleManager,
      SpaceControllerConfigurationManager spaceControllerConfigurationManager,
      LiveActivityRuntime liveActivityRuntime, SequentialEventQueue eventQueue,
      InteractiveSpacesEnvironment spaceEnvironment); @Override void startup(); @Override void shutdown(); @Override void startupAllLiveActivities(); @Override void shutdownAllLiveActivities(); @Override void configureController(Map<String, String> configuration); @Override void captureControllerDataBundle(final String bundleUri); @Override void restoreControllerDataBundle(final String bundleUri); @Override void startupLiveActivity(String uuid); @Override void shutdownLiveActivity(final String uuid); @Override void statusLiveActivity(String uuid); @Override void activateLiveActivity(String uuid); @Override void deactivateLiveActivity(String uuid); @Override void configureLiveActivity(String uuid, Map<String, String> configuration); @Override void cleanLiveActivityTmpData(String uuid); @Override void cleanLiveActivityPermanentData(String uuid); @Override void cleanControllerTempData(); @Override void cleanControllerPermanentData(); @Override void cleanControllerTempDataAll(); @Override void cleanControllerPermanentDataAll(); @Override LiveActivityRunner getLiveActivityRunnerByUuid(String uuid); @Override void publishActivityStatus(final String uuid, final ActivityStatus status); @Override void shutdownControllerContainer(); @Override List<InstalledLiveActivity> getAllInstalledLiveActivities(); @Override ContainerResourceDeploymentQueryResponse handleContainerResourceDeploymentQueryRequest(
      ContainerResourceDeploymentQueryRequest request); @Override ContainerResourceDeploymentCommitResponse handleContainerResourceDeploymentCommitRequest(
      ContainerResourceDeploymentCommitRequest request); @Override LiveActivityDeploymentResponse installLiveActivity(LiveActivityDeploymentRequest request); @Override LiveActivityDeleteResponse deleteLiveActivity(LiveActivityDeleteRequest request); static final int CONTROLLER_ERROR_SHUTDOWN_WAIT_TIME; static final String OPERATION_DETAIL_DELETION_FAIL_LIVE_ACTIVITY_RUNNING; static final int HEARTBEAT_DELAY_DEFAULT; }