A B C D E F G H I L M O P R U V W _

A

authenticate(Iterable<KeyPair>) - Method in class hudson.cli.CLI
Authenticate ourselves against the server.
authenticate(KeyPair) - Method in class hudson.cli.CLI
 
authenticate(String, Pipe, Pipe) - Method in interface hudson.cli.CliEntryPoint
Initiates authentication out of band.
authorization(String) - Method in class hudson.cli.CLIConnectionFactory
For CLI connection that goes through HTTP, sometimes you need to pass in the custom authentication header (before Jenkins even get to authenticate the CLI channel.) This method lets you specify the value of this header.

B

basicAuth(String, String) - Method in class hudson.cli.CLIConnectionFactory
Convenience method to call CLIConnectionFactory.authorization with the HTTP basic authentication.

C

CLI - Class in hudson.cli
CLI entry point to Jenkins.
CLI(URL) - Constructor for class hudson.cli.CLI
 
CLI(URL, ExecutorService) - Constructor for class hudson.cli.CLI
Deprecated. Use CLIConnectionFactory to create CLI
CLI(URL, ExecutorService, String) - Constructor for class hudson.cli.CLI
Deprecated. Use CLIConnectionFactory to create CLI
CLI_NoSuchFileExists(Object) - Static method in class hudson.cli.client.Messages
No such file exists: {0}
CLI_NoURL() - Static method in class hudson.cli.client.Messages
Neither -s nor the JENKINS_URL env var is specified.
CLI_Usage() - Static method in class hudson.cli.client.Messages
Jenkins CLI Usage: java -jar jenkins-cli.jar [-s URL] command [opts...] args...
CLI_VersionMismatch() - Static method in class hudson.cli.client.Messages
Version mismatch.
CLIConnectionFactory - Class in hudson.cli
Fluent-API to instantiate CLI.
CLIConnectionFactory() - Constructor for class hudson.cli.CLIConnectionFactory
 
CliEntryPoint - Interface in hudson.cli
Remotable interface for CLI entry point on the server side.
close() - Method in class hudson.cli.CLI
Shuts down the channel and closes the underlying connection.
close() - Method in class hudson.cli.Connection
 
connect() - Method in class hudson.cli.CLIConnectionFactory
 
Connection - Class in hudson.cli
 
Connection(Socket) - Constructor for class hudson.cli.Connection
 
Connection(InputStream, OutputStream) - Constructor for class hudson.cli.Connection
 

D

diffieHellman(boolean) - Method in class hudson.cli.Connection
Performs a Diffie-Hellman key exchange and produce a common secret between two ends of the connection.
din - Variable in class hudson.cli.Connection
 
dout - Variable in class hudson.cli.Connection
 

E

execute(List<String>, InputStream, OutputStream, OutputStream) - Method in class hudson.cli.CLI
 
execute(List<String>) - Method in class hudson.cli.CLI
 
execute(String...) - Method in class hudson.cli.CLI
 
executorService(ExecutorService) - Method in class hudson.cli.CLIConnectionFactory
This ExecutorService is used to execute closures received from the server.

F

FullDuplexHttpStream - Class in hudson.cli
Creates a capacity-unlimited bi-directional InputStream/OutputStream pair over HTTP, which is a request/response protocol.
FullDuplexHttpStream(URL) - Constructor for class hudson.cli.FullDuplexHttpStream
 
FullDuplexHttpStream(URL, String) - Constructor for class hudson.cli.FullDuplexHttpStream
 

G

getChannel() - Method in class hudson.cli.CLI
Accesses the underlying communication channel.
getInputStream() - Method in class hudson.cli.FullDuplexHttpStream
 
getOutputStream() - Method in class hudson.cli.FullDuplexHttpStream
 

H

hasCommand(String) - Method in class hudson.cli.CLI
Returns true if the named command exists.
hasCommand(String) - Method in interface hudson.cli.CliEntryPoint
Does the named command exist?
httpsProxyTunnel(String) - Method in class hudson.cli.CLIConnectionFactory
Configures the HTTP proxy that we use for making a plain TCP/IP connection.
hudson.cli - package hudson.cli
 
hudson.cli.client - package hudson.cli.client
 

I

in - Variable in class hudson.cli.Connection
 

L

loadKey(File, String) - Static method in class hudson.cli.CLI
Loads RSA/DSA private key in a PEM format into KeyPair.
loadKey(File) - Static method in class hudson.cli.CLI
 
loadKey(String, String) - Static method in class hudson.cli.CLI
Loads RSA/DSA private key in a PEM format into KeyPair.
loadKey(String) - Static method in class hudson.cli.CLI
 

M

main(String[]) - Static method in class hudson.cli.CLI
 
main(List<String>, Locale, InputStream, OutputStream, OutputStream) - Method in interface hudson.cli.CliEntryPoint
Just like the static main method.
Messages - Class in hudson.cli.client
 
Messages() - Constructor for class hudson.cli.client.Messages
 

O

out - Variable in class hudson.cli.Connection
 

P

protocolVersion() - Method in interface hudson.cli.CliEntryPoint
Returns CliEntryPoint.VERSION, so that the client and the server can detect version incompatibility gracefully.
proveIdentity(byte[], KeyPair) - Method in class hudson.cli.Connection
Used in conjunction with Connection.verifyIdentity(byte[]) to prove that we actually own the private key of the given key pair.

R

readBoolean() - Method in class hudson.cli.Connection
 
readKey() - Method in class hudson.cli.Connection
 
readObject() - Method in class hudson.cli.Connection
Receives an object sent by Connection.writeObject(Object)
readUTF() - Method in class hudson.cli.Connection
 

U

upgrade() - Method in class hudson.cli.CLI
Attempts to lift the security restriction on the underlying channel.
url(URL) - Method in class hudson.cli.CLIConnectionFactory
Top URL of the Jenkins to connect to.
url(String) - Method in class hudson.cli.CLIConnectionFactory
 

V

verifyIdentity(byte[]) - Method in class hudson.cli.Connection
Verifies that we are talking to a peer that actually owns the private key corresponding to the public key we get.
VERSION - Static variable in interface hudson.cli.CliEntryPoint
 

W

writeBoolean(boolean) - Method in class hudson.cli.Connection
 
writeKey(Key) - Method in class hudson.cli.Connection
 
writeObject(Object) - Method in class hudson.cli.Connection
Sends a serializable object.
writeUTF(String) - Method in class hudson.cli.Connection
 

_

_CLI_NoSuchFileExists(Object) - Static method in class hudson.cli.client.Messages
No such file exists: {0}
_CLI_NoURL() - Static method in class hudson.cli.client.Messages
Neither -s nor the JENKINS_URL env var is specified.
_CLI_Usage() - Static method in class hudson.cli.client.Messages
Jenkins CLI Usage: java -jar jenkins-cli.jar [-s URL] command [opts...] args...
_CLI_VersionMismatch() - Static method in class hudson.cli.client.Messages
Version mismatch.
_main(String[]) - Static method in class hudson.cli.CLI
 

A B C D E F G H I L M O P R U V W _

Copyright © 2004-2012. All Rights Reserved.