Examples of BoostedNode


Examples of gluebooster.basic.collections.BoostedNode

 
  @Override
  public void fillDocumentation(Object type, BoostedNode documentationParent,
      DocumentationContext context) throws Exception {
   
    BoostedNode newDocumentationParent = documentationParent;
   
    if (DocumentationResourecesId.DOCUMENTATION_DEVELOPER.equals(type)){
      newDocumentationParent = BookUtils.createChapter(documentationParent, "Basic application configuration");
    }
   
View Full Code Here

Examples of gluebooster.basic.collections.BoostedNode

      return typeMap.get(MAVEN_ROOT_PROJECT_CHAPTER);
    } else{
      documentationParent = BookUtils.createChapter(documentationParent, "Project root artifact");
      typeMap.put(MAVEN_ROOT_PROJECT_CHAPTER, documentationParent);
      BookUtils.createDiv(documentationParent, "This artifact acts as root of all artifacts of the project.");
      BoostedNode instance = BookUtils.createChapter(documentationParent, "Instance");
      typeMap.put(MAVEN_ROOT_PROJECT_INSTANCE_CHAPTER, instance);
      //the instance is used as root, because there the instance specific data is to be put
      BoostedNode development = BookUtils.createChapter(documentationParent, "Development");
      BookUtils.createDiv(development, "Create a maven project of type 'pom' .");

      return documentationParent;

    }
View Full Code Here

Examples of gluebooster.basic.collections.BoostedNode

    String artifactIdentifier = createArtifactIdentifierForDocumentation(artifact);
    Map<Object, BoostedNode> typeMap = context.getDocumentationTypeMap(type, true);
    if (! typeMap.containsKey(artifactIdentifier)){
      getLog().debug("getMavenArtifactChapter creating artifact chapter for ", artifactIdentifier);

      BoostedNode chapter = BookUtils.createChapter(mavenChapter, artifact.getName() + " (" + artifactIdentifier + ")", insertNewArtifactBefore);
        typeMap.put(artifactIdentifier, chapter);
       
    }
     
    return  typeMap.get(artifactIdentifier);
View Full Code Here

Examples of gluebooster.basic.collections.BoostedNode

     
      //write plugin execution infos
      String pluginHtml = model.getRuntimePluginExecutionHtmlTable();
      if ( pluginHtml != null){
       
        BoostedNode pluginInfo = BookUtils.createChapter(documentationParent, "Information about executed plugins");
        BookUtils.createDivWithRawContent(pluginInfo, "<table><tbody>" + pluginHtml + "</tbody></table>");
      }

     
    }
View Full Code Here

Examples of gluebooster.basic.collections.BoostedNode

   */
  public void documentProjectIfNecessary(MavenProject project, Object type, BoostedNode documentationParent,
      DocumentationContext context, BoostedNode documentationParentOfNewArtifacts, BoostedNode insertNewArtifactBefore) throws Exception {
    //MavenProject project = PomUtils.readMavenProjectFromRepository(groupID, artifactID, version);
    if (! existsMavenArtifactChapter(project, type, context)){
      BoostedNode artifactChapter = getMavenArtifactChapter(project, type, documentationParentOfNewArtifacts, context, insertNewArtifactBefore);
      documentProject(project, type, artifactChapter, context, documentationParentOfNewArtifacts);
     
    }
  }
View Full Code Here

Examples of gluebooster.basic.collections.BoostedNode

  public void fillDocumentation(Object type, BoostedNode documentationParent,
      DocumentationContext context) throws Exception {
    if (DocumentationResourecesId.DOCUMENTATION_DEVELOPER.equals(type)){
     
      getLog().debug("writing developer documentation");
      BoostedNode mavenChapter = getMavenChapter(type, documentationParent, context);

      MavenProject project = getMavenProject();
     
      documentProjectIfNecessary(project, type,mavenChapter,context, mavenChapter, null);
       
View Full Code Here

Examples of gluebooster.basic.collections.BoostedNode

  @Override
  public void fillDocumentation(Object type, BoostedNode documentationRoot,
      DocumentationContext context) throws Exception {
   
    if (DocumentationResourecesId.DOCUMENTATION_TECHNICAL.equals(type)){
      BoostedNode webserverChapter = BookUtils.createChapter(documentationRoot, "Webserver", null);
      BoostedNode servletContextChapter = BookUtils.createChapter(documentationRoot, "Servlet Contexts", null);
      BookUtils.createChapter(servletContextChapter, "Context 1", null);
     
    }
   
   
View Full Code Here

Examples of gluebooster.basic.collections.BoostedNode

   @Override
   public void fillDocumentation(Object type, BoostedNode documentationParent,
       DocumentationContext context) throws Exception {
    
       if (DocumentationResourecesId.DOCUMENTATION_TECHNICAL.equals(type)){
         BoostedNode div = BookUtils.createDiv(documentationParent);
         BookUtils.createText(div, "The configuration properties are fetched by a ClassResourceIterator. ");
         if (propertiesFileReader instanceof HasDocumentation)
           ((HasDocumentation)propertiesFileReader).fillDocumentation(type, div, context);
       else if (DocumentationResourecesId.DOCUMENTATION_DEVELOPER.equals(type)){
         BoostedNode chapter = BookUtils.createDiv(documentationParent);
         String path = "unknown";
         if (propertiesFileReader instanceof ClassResourceIterator){
           path = ((ClassResourceIterator) propertiesFileReader).getResourcePath();
         }
         BookUtils.createText(chapter, "The application properties are defined in " + path + ". ");
View Full Code Here

Examples of gluebooster.basic.collections.BoostedNode

 
  public static void fillHandlerMappingDocumentationDocumentation(List<HandlerMapping> mappings, Object type, BoostedNode documentationParent,
      DocumentationContext context) throws Exception {
    Check.notNull(documentationParent, "documentationParent");
    BoostedNode mappingNode = BookUtils.createChapter(documentationParent, "Handler Mappings");
    for (HandlerMapping mapping: mappings)
      fillHandlerMappingDocumentationDocumentation(mapping, type, mappingNode, context);

   
   
View Full Code Here

Examples of gluebooster.basic.collections.BoostedNode

 
  @SuppressWarnings("unchecked")
  public static void fillHandlerMappingDocumentationDocumentation(HandlerMapping mapping, Object type, BoostedNode documentationRoot,
      DocumentationContext context) throws Exception {
    if (DocumentationResourecesId.DOCUMENTATION_TECHNICAL.equals(type)){
      BoostedNode mappingNode = BookUtils.createChapter(documentationRoot, mapping.getClass().getSimpleName());
     
     
      HandlerMappingConversionService conversion = HandlerMappingConversionService.createToStringMapConverter();
      if (conversion.canConvert(mapping.getClass(), Map.class)){
        Map<String, ?>mappings = conversion.convert(mapping, Map.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.