private void logFail(String s) { EventType e = new InconsistencyEvent(s, ""); e.setLog4jLevel(Level.ERROR); fireEventOccurred(e); } }
private void logFail(String s) { EventType e = new InconsistencyEvent(s, ""); e.setLog4jLevel(Level.ERROR); fireEventOccurred(e); } }
private void setOptionalArguements() throws InvalidPluginArgumentException { EventType so = new GeneralOutputEvent("Starting OXL parsing...", "[Parser - start]"); so.setLog4jLevel(Level.INFO); fireEventOccurred(so); String[] gdss = (String[]) args .getObjectValueArray(ArgumentNames.IGNORE_ATTRIBUTE_ARG); for (String gds : gdss) { AttributeName attname = graph.getMetaData().getAttributeName(gds); if (attname != null) { if (ignoreGDSAttributeGDS == null) { ignoreGDSAttributeGDS = new HashSet<AttributeName>(); } ignoreGDSAttributeGDS.add(attname); } else { fireEventOccurred(new AttributeNameMissingEvent(gds + " is not found in the metadata (ignoring parameter)", "[Parser - start]")); } } }