Class UiPathCliConfiguration
java.lang.Object
com.uipath.uipathpackage.configuration.UiPathCliConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidAddCliConfiguration(String cliVersionKey, UiPathCliConfiguration.Configuration configuration) getCliHomeDirectory(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) getConfiguration(String versionKey) intgetConfigurationFromPackageName(String cliPackageName) static UiPathCliConfigurationgetSelectedOrDefaultCliVersionKey(EnvVars envVars) voidupdateSelectedCliVersionKey(Run<?, ?> run, String cliVersionKey)
-
Field Details
-
WIN_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
-
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:
IOExceptionInterruptedException
-
getCliRootCachedDirectoryPath
public FilePath getCliRootCachedDirectoryPath(@Nonnull Launcher launcher, @Nonnull EnvVars env, String cliVersionKey) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
getCliRootDownloadsDirectoryPath
public FilePath getCliRootDownloadsDirectoryPath(@Nonnull Launcher launcher, @Nonnull EnvVars env, String cliVersionKey) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
getCliPath
-
AddCliConfiguration
public void AddCliConfiguration(String cliVersionKey, UiPathCliConfiguration.Configuration configuration) -
getConfigurationFromPackageName
public UiPathCliConfiguration.Configuration getConfigurationFromPackageName(String cliPackageName) throws Exception - Throws:
Exception
-