|
Public Member Functions |
| | DocBuilder () throws DirectorException |
| | DocBuilder (String audience) throws DirectorException |
| void | generate (String filename, String format) throws DirectorException |
| | output the documentation formerly built by build()
|
| void | build () throws DirectorException |
| | build the entire documentation.
|
| void | genRawDoc () |
| | Makes raw xhtml from the current chapters.
|
| void | slurpExternalDocs () throws DirectorException |
| void | sortChapters () |
| | Sort chapters so that they appear in the chapters Vector in the same order they will appear in the final document.
|
| String | rawText () |
| void | makeStructure () |
| | Add missing chapters / levels.
|
| void | genericDocu (String directoryName, String chapterTitle, String chapterSubtitle, String intro) throws DirectorException |
| void | genericDocu (String directoryName, String chapterTitle, String chapterSubtitle, String intro, boolean includeInServiceTree) throws DirectorException |
| | build the documentation for generic documentation elements.
|
| void | genericObjDoc (DBObject obj, String directoryName, DocChapter masterChapter, boolean includeInServiceTree) throws DirectorException |
| | build the documentation for a single generic object
|
| void | users () throws DirectorException |
| | build the documentation for users
|
| void | concepts () throws DirectorException |
| | build the documentation for Concepts
|
| void | tools () throws DirectorException |
| | build the documentation for Tools
|
| void | components () throws DirectorException |
| | build the documentation for Components
|
| void | suppliers () throws DirectorException |
| | build the documentation for Suppliers
|
| void | contracts () throws DirectorException |
| | build the documentation for Contracts
|
| void | services () throws DirectorException |
| | build the documentation for Services
|
| void | software () throws DirectorException |
| | build the documentation for Software
|
| void | locations () throws DirectorException |
| | build the documentation for Locations
|
| void | locationdoc (DBObject location) throws DirectorException |
| | build the documentation for a single domain
|
| void | domaindoc () throws DirectorException |
| | build the documentation for DSDomains
|
| void | domaindoc (DBObject domain) throws DirectorException |
| | build the documentation for a single domain
|
| void | hostdoc () throws DirectorException |
| | build the documentation for all hosts.
|
| void | hostdoc (String name) throws DirectorException |
| | build the documentation for one single, named host.
|
| void | hostdoc (DBObject host) throws DirectorException |
| | build the documentation for one single host, given its host DBObject.
|
| void | configfilesdoc () |
| void | configfilesdoc (Vector cfgCollection) |
| void | insertDependencyGraphs () throws DirectorException |
| void | insertDependencyGraph (DocInfo info, DBObject graphdef, DocChapter parentChapter, DocCategory category) throws DirectorException |
| boolean | haveChapterFor (DocInfo what) |
| | Test if a chapter for the DocInfo object already exists.
|
| Hashtable | chapterIndex () |
| | Accessor for attribute chapterIndex.
|
| Hashtable | chapterIndex (Hashtable chapterIndex) |
| | Mutator for attribute chapterIndex.
|
| Vector | chapters () |
| | Accessor for attribute chapters.
|
| Vector | chapters (Vector chapters) |
| | Mutator for attribute chapters.
|
| void | addChapter (DocChapter chapter) |
| | Add a chapter.
|
| DocChapter | addMasterChapter (String heading, String subheading, String filename) throws DirectorException |
| | Create and add a chapter with heading and subheading, read contents from a file.
|
| DocChapter | getChapter (DocChapter like) |
| | Search for an existing chapter by a DocChapter with the same title.
|
| DocChapter | getChapterById (String id) |
| | Search for an existing chapter by a DocChapter ID.
|
| DocChapter | getChapter (String label) |
| | Search for an existing chapter by its label.
|
| boolean | isReferred (String ref) |
| | check if a reference is referred to in one of the existing chapters.
|
| String | audience () |
| | Accessor for attribute audience.
|
| String | audience (String audience) |
| | Mutator for attribute audience.
|
| boolean | testMode () |
| | Accessor for attribute testMode.
|
| boolean | testMode (boolean testMode) |
| | Mutator for attribute testMode.
|
| Vector | dependencyGraphs () |
| | Accessor for attribute dependencyGraphs.
|
| void | addDependencyGraph (DocInfo info, DocChapter parent, DocCategory category) |
| | Add dependencyGraphs.
|
| Vector | configfiles () |
| | Accessor for attribute configfiles.
|
| void | addConfigFile (ConfigFile configfile) |
| | Mutator for attribute configfiles.
|
| String | addMediaFile (String fname) |
| void | copyMedia (File target) throws DirectorException, IOException |
| void | mkMediaFrom (String text, File mediaFile) throws DirectorException |
| void | cleanDocMedia () throws DirectorException |
Static Public Member Functions |
| static String | readableTime (long time) |
| static String | readableTime (Date time) |
| static File | mediafile (String filename) |
| | Helper function - return a file within the docmedia dir.
|
| static String | humanReadableSize (long bytes) |
Public Attributes |
| ServiceDepContainer | serviceTree = new ServiceDepContainer() |
Protected Member Functions |
| String | _shortMediaName (int i, String filename) |
| int | nextId () |
| | returns a unique identifier.
|
| File | nextPath () |
| | returns a unique file.
|
Protected Attributes |
| TempFile | tmpdir = TempFile.create( "docbuild" ) |
| StringBuffer | rawText = new StringBuffer() |
| Hashtable | chapterIndex = new Hashtable() |
| | index chapter title => chapter
|
| Hashtable | chapterIndexByLabel = new Hashtable() |
| | index chapter label => chapter
|
| Vector | chapters = new Vector() |
| | set of chapters
|
| String | audience = "public" |
| | The target audience we build the documentation for.
|
| boolean | testMode = false |
| | If set, only partial doc is built.
|
| Vector | dependencyGraphs = new Vector() |
| | List of dependency graphs.
|
| Vector | configfiles = new Vector() |
| | List of ConfigFiles.
|
| Vector | media = new Vector() |
Static Package Attributes |
| static final String | text_hosts = "Hosts" |
| static final String | text_hosts_sub = "Computers and other hardware devices" |
| static final String | text_domains = "Name Service Domains" |
| static final String | text_domains_sub = "Directory information conversion and update rules" |
| static final String | text_general = "General" |
| static final String | text_summary = "Summary" |
| static final String | text_ipaddress = "IP Address" |
| static final String | text_macaddress = "MAC Address" |
| static final String | text_assignedhosts = "Assigned Hosts" |
| static final String | text_locations = "Locations" |
| static final String | text_locations_sub = "Geographical Locations" |
| static final String | text_contracts = "Contracts and Agreements" |
| static final String | text_contracts_sub = "SLAs, service and support contracts, etc." |
| static final String | text_suppliers = "Suppliers" |
| static final String | text_suppliers_sub = "Component suppliers, contractors" |
| static final String | text_components = "Components" |
| static final String | text_components_sub = "Hardware components, devices, computers" |
| static final String | text_concepts = "Concepts" |
| static final String | text_concepts_sub = "General overview" |
| static final String | text_tools = "Tools and Processes" |
| static final String | text_tools_sub = "Best Practice, Tools and Utilities, Workflows and Processes" |
| static final String | text_location = "Location" |
| static final String | text_domain_rules = "Domain Build Rules" |
| static final String | text_domain_targets = "Targets" |
| static final String | text_domainlist = "Domains" |
| static final String | text_services = "Services" |
| static final String | text_services_sub = "System services" |
| static final String | text_software = "Software" |
| static final String | text_software_sub = "Application Software" |
| static final String | text_users = "Users" |
| static final String | text_users_sub = "" |
| static final String | text_documents = "Documents" |