Forge - Parent 1.2.2-SNAPSHOT

org.jboss.forge.project.facets.events
Class RemoveFacets

java.lang.Object
  extended by org.jboss.forge.project.facets.events.RemoveFacets

public class RemoveFacets
extends Object

Event to instruct Forge to install the given Facet into the current Project

Author:
Lincoln Baxter, III

Constructor Summary
RemoveFacets(boolean prompt, Class<? extends Facet>... facetTypes)
          Install the given facets but first prompt for confirmation.
RemoveFacets(boolean prompt, Class<? extends Facet> facetType)
          Install the given facet but first prompt for confirmation.
RemoveFacets(Class<? extends Facet>... facetTypes)
          Install the given facets without prompting for confirmation
RemoveFacets(Class<? extends Facet> facetType)
          Install the given facet without prompting for confirmation
 
Method Summary
 List<Class<? extends Facet>> getFacetTypes()
          Get the facet types to be installed
 boolean promptRequested()
          Return whether or not the caller has requested to prompt the user for confirmation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveFacets

public RemoveFacets(Class<? extends Facet> facetType)
Install the given facet without prompting for confirmation


RemoveFacets

public RemoveFacets(boolean prompt,
                    Class<? extends Facet> facetType)
Install the given facet but first prompt for confirmation. If the user aborts, a FacetActionAborted will be thrown from the statement where this event was fired.


RemoveFacets

public RemoveFacets(Class<? extends Facet>... facetTypes)
Install the given facets without prompting for confirmation


RemoveFacets

public RemoveFacets(boolean prompt,
                    Class<? extends Facet>... facetTypes)
Install the given facets but first prompt for confirmation. If the user aborts, a FacetActionAborted will be thrown.

Method Detail

getFacetTypes

public List<Class<? extends Facet>> getFacetTypes()
Get the facet types to be installed


promptRequested

public boolean promptRequested()
Return whether or not the caller has requested to prompt the user for confirmation


Forge - Parent 1.2.2-SNAPSHOT

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.