Package org.kiwiproject.ansible.vault
Class VaultViewCommand
java.lang.Object
org.kiwiproject.ansible.vault.VaultViewCommand
- All Implemented Interfaces:
OsCommand
Generates
ansible-vault view commands.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static VaultViewCommandfrom(VaultConfiguration configuration, String encryptedFilePath) Create an instance.Deprecated, for removal: This API element is subject to removal in a future version.parts()Returns a list containing the command and all its arguments, which can then be used to construct aProcessBuilder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kiwiproject.base.process.OsCommand
partsAsArray
-
Method Details
-
from
Create an instance.- Parameters:
configuration- theVaultConfigurationto useencryptedFilePath- path to the encrypted file to view- Returns:
- the command
-
getCommandParts
@Deprecated(since="3.1.0", forRemoval=true) @KiwiDeprecated(removeAt="4.0.0", reference="https://github.com/kiwiproject/kiwi/issues/1026", replacedBy="#parts") public List<String> getCommandParts()Deprecated, for removal: This API element is subject to removal in a future version.replaced byparts()- Returns:
- a list containing the command and its arguments
-
parts
Description copied from interface:OsCommandReturns a list containing the command and all its arguments, which can then be used to construct aProcessBuilder. -
builder
-
parts()