Package org.jboss.forge.addon.git.facet

Examples of org.jboss.forge.addon.git.facet.GitIgnoreFacet


   }

   @Override
   public Result execute(UIExecutionContext context) throws Exception
   {
      GitIgnoreFacet facet = getSelectedProject(context).getFacet(GitIgnoreFacet.class);
      GitIgnoreResource resource = gitIgnoreResource(context.getUIContext());
      StringBuffer buffer = new StringBuffer();
      for (String template : templates.getValue().split(" "))
      {
         String content = facet.contentOf(template);
         buffer.append(content).append("\n");
      }
      String content = buffer.toString();
      resource.setContents(content);
View Full Code Here


   }

   @Override
   public Result execute(UIExecutionContext context) throws Exception
   {
      GitIgnoreFacet facet = getSelectedProject(context).getFacet(GitIgnoreFacet.class);
      GitIgnoreResource resource = gitIgnoreResource(context.getUIContext());
      StringBuffer buffer = new StringBuffer();
      for (String template : templates.getValue().split(" "))
      {
         String content = facet.contentOf(template);
         buffer.append(content).append("\n");
      }
      String content = buffer.toString();
      resource.setContents(content);
View Full Code Here

TOP

Related Classes of org.jboss.forge.addon.git.facet.GitIgnoreFacet

Copyright © 2018 www.massapicom. 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.