Skip to content

Commit 0fd26b1

Browse files
committed
[#32] Add stability level override
1 parent d07fb64 commit 0fd26b1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/main/java/org/wildfly/installationmanager/spi/InstallationManagerFactory.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ public interface InstallationManagerFactory {
3333
*/
3434
InstallationManager create(Path installationDir, MavenOptions mavenOptions) throws Exception;
3535

36+
/**
37+
* Creates InstallationManger for server instance located at {@code installationDir}.
38+
* If the provided directory is empty, the manger needs to install the server before attempting any other operations.
39+
*
40+
* @param installationDir the directory where the server is installed
41+
* @param mavenOptions the options to be used by the manager
42+
* @return the InstallationManager instance
43+
*/
44+
InstallationManager create(Path installationDir, MavenOptions mavenOptions, Stability stability) throws Exception;
45+
3646
/**
3747
* Gets the name of InstallationManager instance
3848
*
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package org.wildfly.installationmanager.spi;
2+
3+
public enum Stability {
4+
Experimental, Preview, Community, Default
5+
}

0 commit comments

Comments
 (0)