hudson.cli
Interface CliEntryPoint


public interface CliEntryPoint

Remotable interface for CLI entry point on the server side.

Author:
Kohsuke Kawaguchi

Field Summary
static int VERSION
           
 
Method Summary
 boolean hasCommand(java.lang.String name)
          Does the named command exist?
 int main(java.util.List<java.lang.String> args, java.util.Locale locale, java.io.InputStream stdin, java.io.OutputStream stdout, java.io.OutputStream stderr)
          Just like the static main method.
 int protocolVersion()
          Returns VERSION, so that the client and the server can detect version incompatibility gracefully.
 

Field Detail

VERSION

static final int VERSION
See Also:
Constant Field Values
Method Detail

main

int main(java.util.List<java.lang.String> args,
         java.util.Locale locale,
         java.io.InputStream stdin,
         java.io.OutputStream stdout,
         java.io.OutputStream stderr)
Just like the static main method.

Parameters:
locale - Locale of this client.

hasCommand

boolean hasCommand(java.lang.String name)
Does the named command exist?


protocolVersion

int protocolVersion()
Returns VERSION, so that the client and the server can detect version incompatibility gracefully.



Copyright © 2010. All Rights Reserved.