@Test public void testMakeKieServerConfigItem() { final String type = "type"; final String name = "name"; final String value = "value"; final KieServerConfigItem configItem = instanceManager.makeKieServerConfigItem(type, name, value); assertEquals(type, configItem.getType()); assertEquals(name, configItem.getName()); assertEquals(value, configItem.getValue()); }
KieServerConfigItem makeKieServerConfigItem(final String type, final String name, final String value) { final KieServerConfigItem configItem = new KieServerConfigItem(); configItem.setType(type); configItem.setName(name); configItem.setValue(value); return configItem; }
KieServerInstanceManager { KieServerConfigItem makeKieServerConfigItem(final String type, final String name, final String value) { final KieServerConfigItem configItem = new KieServerConfigItem(); configItem.setType(type); configItem.setName(name); configItem.setValue(value); return configItem; } }
KieServerInstanceManager { KieServerConfigItem makeKieServerConfigItem(final String type, final String name, final String value) { final KieServerConfigItem configItem = new KieServerConfigItem(); configItem.setType(type); configItem.setName(name); configItem.setValue(value); return configItem; } KieServerInstanceManager(); }
KieServerInstanceManager { KieServerConfigItem makeKieServerConfigItem(final String type, final String name, final String value) { final KieServerConfigItem configItem = new KieServerConfigItem(); configItem.setType(type); configItem.setName(name); configItem.setValue(value); return configItem; } KieServerInstanceManager(); static KieServerInstanceManager getInstance(); List<Container> startScanner(ServerTemplate serverTemplate,
                                        final ContainerSpec containerSpec,
                                        final long interval); List<Container> stopScanner(ServerTemplate serverTemplate,
                                       final ContainerSpec containerSpec); List<Container> scanNow(ServerTemplate serverTemplate,
                                   final ContainerSpec containerSpec); synchronized List<Container> startContainer(final ServerTemplate serverTemplate,
                                                       final ContainerSpec containerSpec); synchronized List<Container> stopContainer(ServerTemplate serverTemplate,
                                                      final ContainerSpec containerSpec); List<Container> upgradeContainer(final ServerTemplate serverTemplate,
                                            final ContainerSpec containerSpec); List<Container> upgradeContainer(final ServerTemplate serverTemplate,
                                            final ContainerSpec containerSpec,
                                            final boolean resetBeforeUpdate); List<Container> upgradeAndStartContainer(final ServerTemplate serverTemplate,
                                                    final ContainerSpec containerSpec); List<Container> upgradeAndStartContainer(final ServerTemplate serverTemplate,
                                                    final ContainerSpec containerSpec,
                                                    final boolean resetBeforeUpdate); List<Container> getContainers(final ServerTemplate serverTemplate,
                                         final ContainerSpec containerSpec); List<Container> getContainers(ServerInstanceKey serverInstanceKey); synchronized List<Container> activateContainer(final ServerTemplate serverTemplate, final ContainerSpec containerSpec); synchronized List<Container> deactivateContainer(final ServerTemplate serverTemplate, final ContainerSpec containerSpec); boolean isAlive(ServerInstanceKey serverInstanceKey); }
KieServerInstanceManager { KieServerConfigItem makeKieServerConfigItem(final String type, final String name, final String value) { final KieServerConfigItem configItem = new KieServerConfigItem(); configItem.setType(type); configItem.setName(name); configItem.setValue(value); return configItem; } KieServerInstanceManager(); static KieServerInstanceManager getInstance(); List<Container> startScanner(ServerTemplate serverTemplate,
                                        final ContainerSpec containerSpec,
                                        final long interval); List<Container> stopScanner(ServerTemplate serverTemplate,
                                       final ContainerSpec containerSpec); List<Container> scanNow(ServerTemplate serverTemplate,
                                   final ContainerSpec containerSpec); synchronized List<Container> startContainer(final ServerTemplate serverTemplate,
                                                       final ContainerSpec containerSpec); synchronized List<Container> stopContainer(ServerTemplate serverTemplate,
                                                      final ContainerSpec containerSpec); List<Container> upgradeContainer(final ServerTemplate serverTemplate,
                                            final ContainerSpec containerSpec); List<Container> upgradeContainer(final ServerTemplate serverTemplate,
                                            final ContainerSpec containerSpec,
                                            final boolean resetBeforeUpdate); List<Container> upgradeAndStartContainer(final ServerTemplate serverTemplate,
                                                    final ContainerSpec containerSpec); List<Container> upgradeAndStartContainer(final ServerTemplate serverTemplate,
                                                    final ContainerSpec containerSpec,
                                                    final boolean resetBeforeUpdate); List<Container> getContainers(final ServerTemplate serverTemplate,
                                         final ContainerSpec containerSpec); List<Container> getContainers(ServerInstanceKey serverInstanceKey); synchronized List<Container> activateContainer(final ServerTemplate serverTemplate, final ContainerSpec containerSpec); synchronized List<Container> deactivateContainer(final ServerTemplate serverTemplate, final ContainerSpec containerSpec); boolean isAlive(ServerInstanceKey serverInstanceKey);  }