+ for(SeedSpec ss : conf.seeds) {
+ ExtentStatus pre = status.get(ss.resource);
+ // INTERNAL seeds are feed into ConsistsOfProcess
+ if(SeedSpecType.INTERNAL.equals(ss.specType)) {
+ if(pre != null && !ExtentStatus.INTERNAL.equals(pre))
+ LOGGER.info("Internal seed preclassification problem, expected INTERNAL preclassification, got " + pre.name());
+ continue;
+ } else if(SeedSpecType.ROOT.equals(ss.specType)) {
+ // Non-internal resources are not reported as internals by ConsistsOfProcess so they are manually entered into fringe
+ fringe.add(ss.resource);
+ if(pre != null)
+ LOGGER.info("Root preclassification problem, expected no preclassification, got " + pre.name());
+ // Roots are classified in status as INTERNAL
+ status.put(ss.resource, ExtentStatus.INTERNAL);
+ } else if(SeedSpecType.SPECIAL_ROOT.equals(ss.specType)) {
+ // Special roots e.g. %model are marked as EXTERNAL
+ if(pre != null && !ExtentStatus.EXTERNAL.equals(pre))
+ LOGGER.info("Special root preclassification problem, expected EXTERNAL preclassification, got " + pre.name());
+ status.put(ss.resource, ExtentStatus.EXTERNAL);
+ }
+ }
+