-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FORGE-1824: More updates to address classpath isolation
- Loading branch information
1 parent
34a989b
commit b2ddad8
Showing
52 changed files
with
421 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
addons/api/src/main/java/org/jboss/forge/addon/addons/project/AddonProjectConfigurator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* Copyright 2013 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
|
||
package org.jboss.forge.addon.addons.project; | ||
|
||
import java.io.FileNotFoundException; | ||
|
||
import org.jboss.forge.addon.dependencies.Dependency; | ||
import org.jboss.forge.addon.facets.FacetNotFoundException; | ||
import org.jboss.forge.addon.projects.Project; | ||
import org.jboss.forge.furnace.addons.Addon; | ||
import org.jboss.forge.furnace.addons.AddonId; | ||
import org.jboss.forge.furnace.versions.Version; | ||
|
||
/** | ||
* Creates Furnace Addon projects | ||
* | ||
* @author <a href="mailto:ggastald@redhat.com">George Gastaldi</a> | ||
* @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a> | ||
*/ | ||
public interface AddonProjectConfigurator | ||
{ | ||
/** | ||
* Create a Furnace {@link Project} with the single project structure. | ||
*/ | ||
public void setupSimpleAddonProject(Project project, Version forgeVersion, Iterable<AddonId> dependencyAddons) | ||
throws FileNotFoundException, FacetNotFoundException; | ||
|
||
/** | ||
* Create a Furnace {@link Project} with the full structure (api,impl,tests,spi and addon) | ||
*/ | ||
public void setupComplexAddonProject(Project project, Version forgeVersion, Iterable<AddonId> dependencyAddons) | ||
throws FileNotFoundException, FacetNotFoundException; | ||
|
||
/** | ||
* Install the specified {@link Addon} instances into the given {@link Project}. | ||
*/ | ||
public void installSelectedAddons(final Project project, Iterable<AddonId> addons, boolean managed); | ||
|
||
/** | ||
* Get a {@link Dependency} representing the given {@link AddonId} | ||
*/ | ||
public Dependency toDependency(AddonId addon); | ||
|
||
/** | ||
* Checks if the {@link Project} depends on the provided {@link AddonId} | ||
*/ | ||
public boolean dependsOnAddon(final Project project, AddonId addonId); | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
addons/api/src/main/java/org/jboss/forge/addon/addons/ui/AddAddonDependencyCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* Copyright 2014 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
|
||
package org.jboss.forge.addon.addons.ui; | ||
|
||
import org.jboss.forge.addon.dependencies.Dependency; | ||
import org.jboss.forge.addon.projects.Project; | ||
import org.jboss.forge.addon.ui.command.UICommand; | ||
import org.jboss.forge.furnace.addons.Addon; | ||
|
||
/** | ||
* Adds an {@link Addon} {@link Dependency} to the current {@link Project} | ||
* | ||
* @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a> | ||
*/ | ||
public interface AddAddonDependencyCommand extends UICommand | ||
{ | ||
} |
19 changes: 19 additions & 0 deletions
19
addons/api/src/main/java/org/jboss/forge/addon/addons/ui/NewAnnotatedUICommandWizard.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright 2013 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
package org.jboss.forge.addon.addons.ui; | ||
|
||
import org.jboss.forge.addon.ui.annotation.Command; | ||
import org.jboss.forge.addon.ui.command.UICommand; | ||
|
||
/** | ||
* Create a new annotation {@link UICommand} using the {@link Command} annotation. | ||
* | ||
* @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a> | ||
*/ | ||
public interface NewAnnotatedUICommandWizard extends UICommand | ||
{ | ||
} |
19 changes: 19 additions & 0 deletions
19
addons/api/src/main/java/org/jboss/forge/addon/addons/ui/NewFurnaceTestCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* Copyright 2014 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
|
||
package org.jboss.forge.addon.addons.ui; | ||
|
||
import org.jboss.forge.addon.ui.command.UICommand; | ||
|
||
/** | ||
* Creates a Furnace Test case | ||
* | ||
* @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a> | ||
*/ | ||
public interface NewFurnaceTestCommand extends UICommand | ||
{ | ||
} |
19 changes: 19 additions & 0 deletions
19
addons/api/src/main/java/org/jboss/forge/addon/addons/ui/NewFurnaceTestSetupCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* Copyright 2014 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
|
||
package org.jboss.forge.addon.addons.ui; | ||
|
||
import org.jboss.forge.addon.ui.command.UICommand; | ||
|
||
/** | ||
* Creates a Furnace Test case | ||
* | ||
* @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a> | ||
*/ | ||
public interface NewFurnaceTestSetupCommand extends UICommand | ||
{ | ||
} |
19 changes: 19 additions & 0 deletions
19
addons/api/src/main/java/org/jboss/forge/addon/addons/ui/NewUICommandWizard.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright 2013 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
package org.jboss.forge.addon.addons.ui; | ||
|
||
import org.jboss.forge.addon.ui.command.UICommand; | ||
|
||
/** | ||
* | ||
* Create a new {@link UICommand}. | ||
* | ||
* @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a> | ||
*/ | ||
public interface NewUICommandWizard extends UICommand | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.