Package org.kiwiproject.ansible.vault
Interface OsCommand
-
- All Known Implementing Classes:
VaultDecryptCommand,VaultEncryptCommand,VaultEncryptStringCommand,VaultRekeyCommand,VaultViewCommand
public interface OsCommandInterface that describes a simple contract for an operating system command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getCommandParts()Returns a list containing the command and all its arguments, which can then be used to construct aProcessBuilder.
-
-
-
Method Detail
-
getCommandParts
List<String> getCommandParts()
Returns a list containing the command and all its arguments, which can then be used to construct aProcessBuilder.- Returns:
- a list of command arguments
- See Also:
ProcessBuilder(List)
-
-