@Test public void testRestartRuntime() { runtimeProvisioningServiceBackend.restartRuntime(RUNTIME_ID); verify(runtimeProvisioningService).restartRuntime(RUNTIME_ID); }
@Override public void restartRuntime(String runtimeId) throws BusinessException { runtimeProvisioningService.restartRuntime(runtimeId); }
RuntimeProvisioningServiceBackendImpl implements RuntimeProvisioningServiceBackend { @Override public void restartRuntime(String runtimeId) throws BusinessException { runtimeProvisioningService.restartRuntime(runtimeId); } }
RuntimeProvisioningServiceBackendImpl implements RuntimeProvisioningServiceBackend { @Override public void restartRuntime(String runtimeId) throws BusinessException { runtimeProvisioningService.restartRuntime(runtimeId); } RuntimeProvisioningServiceBackendImpl(); @Inject  RuntimeProvisioningServiceBackendImpl(final RuntimeProvisioningService runtimeProvisioningService); }
RuntimeProvisioningServiceBackendImpl implements RuntimeProvisioningServiceBackend { @Override public void restartRuntime(String runtimeId) throws BusinessException { runtimeProvisioningService.restartRuntime(runtimeId); } RuntimeProvisioningServiceBackendImpl(); @Inject  RuntimeProvisioningServiceBackendImpl(final RuntimeProvisioningService runtimeProvisioningService); @Override List<ProviderType> getProviderTypes(Integer page,
                                               Integer pageSize,
                                               String sort,
                                               boolean sortOrder); @Override List<Provider> getProviders(Integer page,
                                       Integer pageSize,
                                       String sort,
                                       boolean sortOrder); @Override List<Runtime> getRuntimes(Integer page,
                                     Integer pageSize,
                                     String sort,
                                     boolean sortOrder); @Override void registerProvider(ProviderConfig conf); @Override void unregisterProvider(String name); @Override String newRuntime(RuntimeConfig conf); @Override void destroyRuntime(String runtimeId,
                               boolean forced); @Override void startRuntime(String runtimeId); @Override void stopRuntime(String runtimeId); @Override void restartRuntime(String runtimeId); @Override List<RuntimeQueryResultItem> executeQuery(RuntimeQuery query); }
RuntimeProvisioningServiceBackendImpl implements RuntimeProvisioningServiceBackend { @Override public void restartRuntime(String runtimeId) throws BusinessException { runtimeProvisioningService.restartRuntime(runtimeId); } RuntimeProvisioningServiceBackendImpl(); @Inject  RuntimeProvisioningServiceBackendImpl(final RuntimeProvisioningService runtimeProvisioningService); @Override List<ProviderType> getProviderTypes(Integer page,
                                               Integer pageSize,
                                               String sort,
                                               boolean sortOrder); @Override List<Provider> getProviders(Integer page,
                                       Integer pageSize,
                                       String sort,
                                       boolean sortOrder); @Override List<Runtime> getRuntimes(Integer page,
                                     Integer pageSize,
                                     String sort,
                                     boolean sortOrder); @Override void registerProvider(ProviderConfig conf); @Override void unregisterProvider(String name); @Override String newRuntime(RuntimeConfig conf); @Override void destroyRuntime(String runtimeId,
                               boolean forced); @Override void startRuntime(String runtimeId); @Override void stopRuntime(String runtimeId); @Override void restartRuntime(String runtimeId); @Override List<RuntimeQueryResultItem> executeQuery(RuntimeQuery query);  }