@Test public void testGetKeyPropertyIds() throws Exception { ClusterDefinition clusterDefinition = new ClusterDefinition(new TestStateProvider(), new TestClusterDefinitionProvider(), new TestHostInfoProvider()); NoOpProvider provider = new NoOpProvider(Resource.Type.Workflow, clusterDefinition); Assert.assertNotNull(provider.getKeyPropertyIds()); }
@Override public Map<Resource.Type, String> getKeyPropertyIds() { return keyPropertyIds; }
NoOpProvider extends BaseResourceProvider { @Override public Map<Resource.Type, String> getKeyPropertyIds() { return keyPropertyIds; } }
NoOpProvider extends BaseResourceProvider { @Override public Map<Resource.Type, String> getKeyPropertyIds() { return keyPropertyIds; } NoOpProvider(Resource.Type type, ClusterDefinition clusterDefinition); }
NoOpProvider extends BaseResourceProvider { @Override public Map<Resource.Type, String> getKeyPropertyIds() { return keyPropertyIds; } NoOpProvider(Resource.Type type, ClusterDefinition clusterDefinition); @Override void updateProperties(Resource resource, Request request, Predicate predicate); @Override int updateProperties(Resource resource, Map<String, Object> properties); @Override Map<Resource.Type, String> getKeyPropertyIds(); @Override Set<String> checkPropertyIds(Set<String> propertyIds); }
NoOpProvider extends BaseResourceProvider { @Override public Map<Resource.Type, String> getKeyPropertyIds() { return keyPropertyIds; } NoOpProvider(Resource.Type type, ClusterDefinition clusterDefinition); @Override void updateProperties(Resource resource, Request request, Predicate predicate); @Override int updateProperties(Resource resource, Map<String, Object> properties); @Override Map<Resource.Type, String> getKeyPropertyIds(); @Override Set<String> checkPropertyIds(Set<String> propertyIds);  }