本文整理汇总了Java中org.jboss.forge.addon.projects.ProjectFacet类的典型用法代码示例。如果您正苦于以下问题:Java ProjectFacet类的具体用法?Java ProjectFacet怎么用?Java ProjectFacet使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ProjectFacet类属于org.jboss.forge.addon.projects包,在下文中一共展示了ProjectFacet类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getRequiredFacets
import org.jboss.forge.addon.projects.ProjectFacet; //导入依赖的package包/类
@Override
public Iterable<Class<? extends ProjectFacet>> getRequiredFacets() {
List<Class<? extends ProjectFacet>> result = new ArrayList<Class<? extends ProjectFacet>>(7);
result.add(MetadataFacet.class);
result.add(PackagingFacet.class);
result.add(DependencyFacet.class);
result.add(ResourcesFacet.class);
result.add(WebResourcesFacet.class);
result.add(JavaSourceFacet.class);
result.add(JavaCompilerFacet.class);
return result;
}
示例2: getRequiredFacets
import org.jboss.forge.addon.projects.ProjectFacet; //导入依赖的package包/类
@Override
public Iterable<Class<? extends ProjectFacet>> getRequiredFacets() {
List<Class<? extends ProjectFacet>> result = new ArrayList<Class<? extends ProjectFacet>>(6);
result.add(MetadataFacet.class);
result.add(PackagingFacet.class);
result.add(DependencyFacet.class);
result.add(ResourcesFacet.class);
result.add(JavaSourceFacet.class);
result.add(JavaCompilerFacet.class);
return result;
}
示例3: getRequiredFacets
import org.jboss.forge.addon.projects.ProjectFacet; //导入依赖的package包/类
/**
* Same as JavaWebProjectType
*/
@Override
public Iterable<Class<? extends ProjectFacet>> getRequiredFacets()
{
List<Class<? extends ProjectFacet>> result = new ArrayList<Class<? extends ProjectFacet>>(7);
result.add(MetadataFacet.class);
result.add(PackagingFacet.class);
result.add(DependencyFacet.class);
result.add(ResourcesFacet.class);
result.add(WebResourcesFacet.class);
result.add(JavaSourceFacet.class);
result.add(JavaCompilerFacet.class);
return result;
}
示例4: getRequiredFacets
import org.jboss.forge.addon.projects.ProjectFacet; //导入依赖的package包/类
@Override
public Iterable<Class<? extends ProjectFacet>> getRequiredFacets()
{
return REQUIRED_FACETS;
}
示例5: getRequiredFacets
import org.jboss.forge.addon.projects.ProjectFacet; //导入依赖的package包/类
@Override
public Iterable<Class<? extends ProjectFacet>> getRequiredFacets() {
return Collections.singleton(VertxMavenFacet.class);
}