Interface OsCommand

All Known Implementing Classes:
VaultDecryptCommand, VaultEncryptCommand, VaultEncryptStringCommand, VaultRekeyCommand, VaultViewCommand

public interface OsCommand
Interface that describes a simple contract for an operating system command.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a list containing the command and all its arguments, which can then be used to construct a ProcessBuilder.
    default String[]
    Returns a string array containing the command and all its arguments, which can be used to construct a ProcessBuilder.