java.lang.Object
io.xpipe.core.util.XPipeInstallation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateExternalAsyncLaunchCommand(String installationBase, XPipeDaemonMode mode, String arguments) static StringcreateExternalLaunchCommand(String command, String arguments, XPipeDaemonMode mode) static Pathstatic Stringstatic Stringstatic Stringstatic Pathstatic Stringstatic intstatic Stringstatic StringgetInstallationExecutable(ShellControl p, String installation) static Stringstatic Stringstatic Pathstatic Pathstatic Pathstatic StringgetLocalInstallationBasePathForCLI(String cliExecutable) static Stringstatic booleanstatic StringqueryInstallationVersion(ShellControl p, String exec) static String
-
Field Details
-
DATA_DIR_PROP
- See Also:
-
-
Constructor Details
-
XPipeInstallation
public XPipeInstallation()
-
-
Method Details
-
getDefaultBeaconPort
public static int getDefaultBeaconPort() -
getDataDir
-
getDataDir
- Throws:
Exception
-
createExternalAsyncLaunchCommand
public static String createExternalAsyncLaunchCommand(String installationBase, XPipeDaemonMode mode, String arguments) -
createExternalLaunchCommand
public static String createExternalLaunchCommand(String command, String arguments, XPipeDaemonMode mode) -
getCurrentInstallationBasePath
-
isInstallationDistribution
public static boolean isInstallationDistribution() -
getLocalDynamicLibraryDirectory
-
getLocalExtensionsDirectory
-
getLocalInstallationBasePathForCLI
-
queryLocalInstallationVersion
- Throws:
Exception
-
queryInstallationVersion
- Throws:
Exception
-
getInstallationExecutable
-
getLocalDefaultCliExecutable
-
getLocalDefaultInstallationIcon
-
getLocalDefaultInstallationBasePath
-
getDefaultInstallationBasePath
- Throws:
Exception
-
getDaemonDebugScriptPath
-
getDaemonDebugAttachScriptPath
-
getDaemonExecutablePath
-
getRelativeCliExecutablePath
-