@Test public void testGetComponentTypes() { Assert.assertFalse(evaluatorProvider.getComponentTypes().isEmpty()); Assert.assertEquals(evaluatorProvider.getComponentTypes().size(), 1); Assert.assertTrue(evaluatorProvider.getComponentTypes().iterator().next().isCreatable()); Assert.assertFalse(multiProvider.getComponentTypes().isEmpty()); Assert.assertEquals(multiProvider.getComponentTypes().size(), 1); Assert.assertTrue(multiProvider.getComponentTypes().iterator().next().isCreatable()); }
@Override public Collection<ComponentTypeInfo> getComponentTypes() { return infos; }
EvaluatorComponentProvider extends AbstractComponentProvider { @Override public Collection<ComponentTypeInfo> getComponentTypes() { return infos; } }
EvaluatorComponentProvider extends AbstractComponentProvider { @Override public Collection<ComponentTypeInfo> getComponentTypes() { return infos; } EvaluatorComponentProvider(); }
EvaluatorComponentProvider extends AbstractComponentProvider { @Override public Collection<ComponentTypeInfo> getComponentTypes() { return infos; } EvaluatorComponentProvider(); @Override Collection<ComponentTypeInfo> getComponentTypes(); @Override Collection<ViewInfo> getViews(String componentTypeId); @Override Collection<PolicyInfo> getPolicyInfos(); @Override //Add menu items for creating enums with puis selected in My Directory Collection<MenuItemInfo> getMenuItemInfos(); @Override T getAsset(TypeInfo<?> typeInfo, Class<T> assetClass); }
EvaluatorComponentProvider extends AbstractComponentProvider { @Override public Collection<ComponentTypeInfo> getComponentTypes() { return infos; } EvaluatorComponentProvider(); @Override Collection<ComponentTypeInfo> getComponentTypes(); @Override Collection<ViewInfo> getViews(String componentTypeId); @Override Collection<PolicyInfo> getPolicyInfos(); @Override //Add menu items for creating enums with puis selected in My Directory Collection<MenuItemInfo> getMenuItemInfos(); @Override T getAsset(TypeInfo<?> typeInfo, Class<T> assetClass);  }