Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2012 Red Hat, Inc. and/or its affiliates.
  *
  * Licensed under the Eclipse Public License version 1.0, available at
  * http://www.eclipse.org/legal/epl-v10.html
  */
 package org.jboss.forge.addon.javaee.faces;
 
 import java.util.List;
import  javax.faces.application.ProjectStage;
import  org.jboss.forge.addon.facets.constraints.FacetConstraint;
import  org.jboss.forge.addon.facets.constraints.FacetConstraintType;
import  org.jboss.forge.addon.facets.constraints.FacetConstraints;
import  org.jboss.forge.addon.projects.Project;
import  org.jboss.forge.addon.projects.facets.ResourcesFacet;
import  org.jboss.forge.addon.resource.Resource;

If installed, this Project supports features from the JSF specification.

Author(s):
Lincoln Baxter, III
@FacetConstraints({
         @FacetConstraint(value = { ServletFacet.class }, type = FacetConstraintType.OPTIONAL),
         @FacetConstraint(value = { ResourcesFacet.class }, type = FacetConstraintType.REQUIRED)
})
public interface FacesFacet<DESCRIPTOR> extends JavaEEFacetConfigurable<DESCRIPTOR>
   ProjectStage getProjectStage();
   void setProjectStage(ProjectStage projectStage);
   Resource<?> getResourceForWebPath(String path);
   List<StringgetWebPaths(Resource<?> r);
   void setFacesMapping(String mapping);
New to GrepCode? Check out our FAQ X