Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.safehaus.chop.api;
 
 
 
Minimal requirements for runner information.
public interface Runner extends GuicyFig {
    // ~~~~~~~~~~~~~~~~~~~~~ Runner Related Configuration ~~~~~~~~~~~~~~~~~~~~
    String IPV4_KEY = "public-ipv4";

    
Gets the IPv4 public address used by the Runner. Uses IPV4_KEY to access the IPv4 public address.

Returns:
the IPv4 public address (octet) as a String
    @Key )
    String HOSTNAME_KEY = "public-hostname";

    
Gets the public hostname of the Runner. Uses HOSTNAME_KEY to access the public hostname.

Returns:
the public hostname
    @Key )
    String getHostname();
    String SERVER_PORT_KEY = "server.port";
    String DEFAULT_SERVER_PORT = "24981";

    
Gets the Runner server port. Uses SERVER_PORT_KEY to access the server port. The default port used is setup via DEFAULT_SERVER_PORT.

Returns:
the Runner's server port
    @Key )
    int getServerPort();
    String URL_KEY = "url.key";

    
Gets the URL of the Runner's REST interface. Uses URL_KEY to access the Runner's URL.

Returns:
the URL of the Runner's REST interface
    @Key )
    String getUrl();
    String DEFAULT_RUNNER_TEMP_DIR = "/tmp";
    String RUNNER_TEMP_DIR_KEY = "runner.temp.dir";

    
Gets the temporary directory used by the Runner to store files. Uses RUNNER_TEMP_DIR_KEY to access the temp dir used by the Runner.

Returns:
the temporary directory used by the Runner
    String getTempDir();
New to GrepCode? Check out our FAQ X