-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
12 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
32 changes: 32 additions & 0 deletions
32
src/main/java/org/attias/open/interactive/simulation/deployer/Constant.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,32 @@ | ||
package org.attias.open.interactive.simulation.deployer; | ||
|
||
import org.attias.open.interactive.simulation.core.backend.engine.AppConfiguration; | ||
|
||
import java.nio.file.Path; | ||
import java.nio.file.Paths; | ||
import java.util.HashSet; | ||
import java.util.List; | ||
import java.util.Set; | ||
|
||
public class Constant { | ||
public static final String OIS = "ois"; | ||
public static final String GROUP_NAME = OIS; | ||
public static final String FILE_SUFFIX = "." + OIS; | ||
public static final String PROJECT_CONFIG_FILE_NAME = "simulation" + FILE_SUFFIX; | ||
|
||
public static final Path HOME_PATH = Paths.get(System.getProperty("user.home"), FILE_SUFFIX); | ||
public static final Path RUNNERS_PATH = HOME_PATH.resolve("runners"); | ||
public static final String DEFAULT_RUNNER_VERSION = "0.1"; | ||
|
||
public static final String DEFAULT_PROJECT_TITLE = "OIS Simulation"; | ||
public static final Set<AppConfiguration.AppType> APP_TYPES = new HashSet<>(List.of(AppConfiguration.AppType.Desktop)); | ||
|
||
public static final String OIS_RUNNER_GIT_REPO = "https://github.com/attiasas/open-interactive-simulation-runner.git"; | ||
public static final String EXTENSION_NAME = "oisDeployer"; | ||
|
||
public static final String INIT_TASK_NAME = "initializeDeployer"; | ||
public static final String INIT_TASK_DESCRIPTION = "Initialize the simulation deployer resources before running related tasks"; | ||
|
||
public static final String RUN_DESKTOP_TASK_NAME = "runDesktop"; | ||
public static final String RUN_DESKTOP_TASK_DESCRIPTION = "Runs the simulation using desktop"; | ||
} |