Class UiPathCliConfiguration
java.lang.Object
com.uipath.uipathpackage.configuration.UiPathCliConfiguration
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCliHomeDirectory
(Launcher launcher, EnvVars env) getCliPath
(Launcher launcher, EnvVars env, String cliVersionKey) getCliRootCachedDirectoryPath
(Launcher launcher, EnvVars env, String cliVersionKey) getCliRootDownloadsDirectoryPath
(Launcher launcher, EnvVars env, String cliVersionKey) int
static UiPathCliConfiguration
getSelectedOrDefaultCliVersionKey
(EnvVars envVars) void
updateSelectedCliVersionKey
(Run<?, ?> run, String cliVersionKey)
-
Field Details
-
WIN_PLATFORM
- See Also:
-
X_PLATFORM
- See Also:
-
SELECTED_CLI_VERSION_KEY
- See Also:
-
DEFAULT_CLI_VERSION_KEY
- See Also:
-
-
Method Details
-
getInstance
public static UiPathCliConfiguration getInstance() throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getConfiguration
-
getConfigurationCount
public int getConfigurationCount() -
getDefaultCliVersionKey
-
getSelectedOrDefaultCliVersionKey
-
updateSelectedCliVersionKey
public void updateSelectedCliVersionKey(@NonNull Run<?, ?> run, @Nonnull String cliVersionKey) throws AbortException- Throws:
AbortException
-
getCliHomeDirectory
public FilePath getCliHomeDirectory(@Nonnull Launcher launcher, @Nonnull EnvVars env) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
getCliRootCachedDirectoryPath
public FilePath getCliRootCachedDirectoryPath(@Nonnull Launcher launcher, @Nonnull EnvVars env, String cliVersionKey) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
getCliRootDownloadsDirectoryPath
public FilePath getCliRootDownloadsDirectoryPath(@Nonnull Launcher launcher, @Nonnull EnvVars env, String cliVersionKey) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
getCliPath
-