org.jboss.forge.maven.facets
Class JavaExecutionFacetImpl
java.lang.Object
org.jboss.forge.project.facets.BaseFacet
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
JavaExecutionFacetImpl
public JavaExecutionFacetImpl()
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
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.