Forge - Parent 1.0.0.Final

org.jboss.forge.maven.facets
Class JavaExecutionFacetImpl

java.lang.Object
  extended by org.jboss.forge.project.facets.BaseFacet
      extended by org.jboss.forge.maven.facets.JavaExecutionFacetImpl
All Implemented Interfaces:
Facet, JavaExecutionFacet

@Dependent
@Alias(value="forge.maven.JavaExecutionFacet")
@RequiresFacet(value=MavenCoreFacet.class)
public class JavaExecutionFacetImpl
extends BaseFacet
implements JavaExecutionFacet


Field Summary
 
Fields inherited from class org.jboss.forge.project.facets.BaseFacet
project
 
Constructor Summary
JavaExecutionFacetImpl()
           
 
Method Summary
 void executeProjectClass(String fullyQualifiedClassName, String... arguments)
           
 boolean install()
          Perform necessary setup for this Facet to be considered installed in the given Project.
 boolean isInstalled()
          Return true if the Facet is available for the given Project, false if otherwise.
 
Methods inherited from class org.jboss.forge.project.facets.BaseFacet
equals, getProject, hashCode, setProject, uninstall
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.forge.project.Facet
getProject, setProject, uninstall
 

Constructor Detail

JavaExecutionFacetImpl

public JavaExecutionFacetImpl()
Method Detail

executeProjectClass

public void executeProjectClass(String fullyQualifiedClassName,
                                String... arguments)
Specified by:
executeProjectClass in interface JavaExecutionFacet

install

public boolean install()
Description copied from interface: Facet
Perform necessary setup for this Facet to be considered installed in the given Project. This method should NOT register the facet; facet registration is handled by the project if installation is successful.

Specified by:
install in interface Facet
Returns:
true if installation was successful, false if not.

isInstalled

public boolean isInstalled()
Description copied from interface: Facet
Return true if the Facet is available for the given Project, false if otherwise.

Specified by:
isInstalled in interface Facet

Forge - Parent 1.0.0.Final

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.