Package org.jboss.errai.forge.facet.aggregate

Examples of org.jboss.errai.forge.facet.aggregate.BaseAggregatorFacet$UninstallationExecption


  @Override
  @SuppressWarnings("unchecked")
  protected void performOperation(Project project, Feature feature) throws Exception {
    try {
      final MutableFaceted<ProjectFacet> mutable = (MutableFaceted<ProjectFacet>) project;
      final BaseAggregatorFacet facet = mutable.getFacet(feature.getFeatureClass());

      if (!facet.uninstallRequirements() || !mutable.uninstall(facet))
        throw new Exception(String.format("Could not uninstall %s from %s.", facet.getClass(), project));

      final ProjectConfig projectConfig = project.getFacet(ProjectConfig.class);
      SerializableSet installed = projectConfig.getProjectProperty(ProjectProperty.INSTALLED_FEATURES,
              SerializableSet.class);
      if (installed == null)
View Full Code Here

TOP

Related Classes of org.jboss.errai.forge.facet.aggregate.BaseAggregatorFacet$UninstallationExecption

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.