@Test public void testGetLocalResourcesAllTags() throws Exception { Set<String> all = OwnLocalResources.getLocalResourcesAllTags(); assertTrue(all.contains("centos6")); assertTrue(all.contains("centos7")); assertTrue(all.contains("macos10")); }
public static Set<String> getLocalResourcesAllTags(){ Set<String> all = new HashSet<>(); all.add(LR_TAG_CENTOS6); all.add(LR_TAG_CENTOS7); all.add(LR_TAG_MACOS10); return all; }
OwnLocalResources { public static Set<String> getLocalResourcesAllTags(){ Set<String> all = new HashSet<>(); all.add(LR_TAG_CENTOS6); all.add(LR_TAG_CENTOS7); all.add(LR_TAG_MACOS10); return all; } }
OwnLocalResources { public static Set<String> getLocalResourcesAllTags(){ Set<String> all = new HashSet<>(); all.add(LR_TAG_CENTOS6); all.add(LR_TAG_CENTOS7); all.add(LR_TAG_MACOS10); return all; } OwnLocalResources(String thisNodeTag);  OwnLocalResources(); }
OwnLocalResources { public static Set<String> getLocalResourcesAllTags(){ Set<String> all = new HashSet<>(); all.add(LR_TAG_CENTOS6); all.add(LR_TAG_CENTOS7); all.add(LR_TAG_MACOS10); return all; } OwnLocalResources(String thisNodeTag);  OwnLocalResources(); static Set<String> getLocalResourcesAllTags(); static String getThisLocalResourceTag(); Pair<String,Path> splitTagAndBasename(Path path); Map<Path,List<String>> filterLocalResources(Map<Path,List<String>> originLocalResources); }
OwnLocalResources { public static Set<String> getLocalResourcesAllTags(){ Set<String> all = new HashSet<>(); all.add(LR_TAG_CENTOS6); all.add(LR_TAG_CENTOS7); all.add(LR_TAG_MACOS10); return all; } OwnLocalResources(String thisNodeTag);  OwnLocalResources(); static Set<String> getLocalResourcesAllTags(); static String getThisLocalResourceTag(); Pair<String,Path> splitTagAndBasename(Path path); Map<Path,List<String>> filterLocalResources(Map<Path,List<String>> originLocalResources); static final String LR_PREFIX; static final String LR_TAG_CENTOS6; static final String LR_TAG_CENTOS7; static final String LR_TAG_MACOS10; static final String LR_TAG_DELIM; }