root.printNotice("Generating " + outputFile);
/** * Print a message. * * @param pos the position of the source * @param msg message to print */ private void printNotice(SourcePosition pos, String msg) { configuration.root.printNotice(pos, msg); }
@Override public void printNotice(SourcePosition pos, String msg) { delegate.printNotice(pos, msg); } }
/** * Print a message. * * @param msg message to print */ private void printNotice(String msg) { configuration.root.printNotice(msg); }
/** * Print a message. * * @param msg message to print */ private void printNotice(String msg) { configuration.root.printNotice(msg); }
/** * Print a message. * * @param pos the position of the source * @param msg message to print */ private void printNotice(SourcePosition pos, String msg) { configuration.root.printNotice(pos, msg); }
@Override public void printNotice(String msg) { delegate.printNotice(msg); }
@Override public void printNotice(String msg) { rootDoc.printNotice(msg); }
@Override public void printNotice(SourcePosition pos, String msg) { rootDoc.printNotice(pos, msg); }
public void printNotice(SourcePosition arg0, String arg1) { wrapped.printNotice(arg0, arg1); }
public void printNotice(SourcePosition arg0, String arg1) { root.printNotice(arg0, arg1); }
public void printNotice(String arg0) { root.printNotice(arg0); }
public void printNotice(String arg0) { wrapped.printNotice(arg0); }
protected CategoryOptions(String catName, final String fillColor, final String lineColor) { this.fillColor = Color.resolveColor(fillColor); if (lineColor != null) { this.lineColor = Color.resolveColor(lineColor); } root.printNotice("Category Options: " + catName + ", " + fillColor + ", " + lineColor); }
private boolean isUpToDate() { if (outFile == null) return false; final long outFileMillis = outFile.lastModified(); if (outFileMillis == 0L) { return false; } for (final Doc doc: allDocs) { final File docFile = doc.position() == null ? null : doc.position().file(); if (docFile != null && docFile.lastModified() > outFileMillis) { rootDoc.printNotice("At least one item is out of date: " + docFile.getAbsolutePath()); return false; } } return true; }
protected CategoryOptions(String catName, final ColorCombination combination) { fillColor = combination.getFillColor().getRgbValue(); lineColor = combination.getLineColor().getRgbValue(); root.printNotice("Category Options: " + catName + ", " + fillColor + ", " + lineColor); }
/** Entry point through javadoc */ public static boolean start(RootDoc root) throws IOException { Options opt = buildOptions(root); root.printNotice("UMLGraph doclet version " + Version.VERSION + " started"); View[] views = buildViews(opt, root, root); if(views == null) return false; if (views.length == 0) buildGraph(root, opt, null); else for (int i = 0; i < views.length; i++) buildGraph(root, views[i], null); return true; }
/** Entry point through javadoc */ public static boolean start(RootDoc root) throws IOException { Options opt = buildOptions(root); root.printNotice("UMLGraph doclet version " + Version.VERSION + " started"); View[] views = buildViews(opt, root, root); if(views == null) return false; if (views.length == 0) buildGraph(root, opt, null); else for (int i = 0; i < views.length; i++) buildGraph(root, views[i], null); return true; }
/** * Extracts the contents of certain types of javadoc and adds them to an XML file. * @param rootDoc The documentation root. * @return Whether the JavaDoc run succeeded. * @throws IOException if output can't be written. */ public static boolean start(RootDoc rootDoc) throws IOException { ResourceBundleExtractorDoclet doclet = new ResourceBundleExtractorDoclet(rootDoc); doclet.checkUndocumentedClasses(); if (doclet.isUpToDate()) { rootDoc.printNotice("Docs up to date. Not regenerating."); return true; } doclet.processDocs(); return true; }
private void ensureOutputDirExists() throws Fault { DocFile destDir = DocFile.createFileForDirectory(this, destDirName); if (!destDir.exists()) { //Create the output directory (in case it doesn't exist yet) root.printNotice(getText("doclet.dest_dir_create", destDirName)); destDir.mkdirs(); } else if (!destDir.isDirectory()) { throw new Fault(getText( "doclet.destination_directory_not_directory_0", destDir.getPath())); } else if (!destDir.canWrite()) { throw new Fault(getText( "doclet.destination_directory_not_writable_0", destDir.getPath())); } }