All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kiwiproject.ansible.vault.OsCommand Maven / Gradle / Ivy

Go to download

Kiwi is a utility library. We really like Google's Guava, and also use Apache Commons. But if they don't have something we need, and we think it is useful, this is where we put it.

There is a newer version: 4.5.2
Show newest version
package org.kiwiproject.ansible.vault;

import java.util.List;

// TODO Should this be moved to the base.process package?

/**
 * Interface that describes a simple contract for an operating system command.
 */
public interface OsCommand {

    /**
     * Returns a list containing the command and all its arguments, which can then be used to construct
     * a {@link ProcessBuilder}.
     *
     * @return a list of command arguments
     * @see ProcessBuilder#ProcessBuilder(List)
     */
    List getCommandParts();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy