org.jenkinsci.plugins.pry
Class PryCommand

java.lang.Object
  extended by hudson.cli.CLICommand
      extended by org.jenkinsci.plugins.pry.PryCommand
All Implemented Interfaces:
hudson.ExtensionPoint, Cloneable

@Extension
public class PryCommand
extends hudson.cli.CLICommand

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.cli.CLICommand
channel, locale, stderr, stdin, stdout, TRANSPORT_AUTHENTICATION
 
Constructor Summary
PryCommand()
           
 
Method Summary
 Object callMethod(Object object, String methodName, Object... args)
           
 File getScriptDir()
          Returns a directory that stores all the Ruby scripts.
 String getShortDescription()
           
 int main(List<String> args, Locale locale, InputStream stdin, PrintStream stdout, PrintStream stderr)
           
 String readline(String prompt, org.jruby.RubyProc completer)
           
protected  int run()
           
 
Methods inherited from class hudson.cli.CLICommand
all, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCurrent, getName, getTransportAuthentication, loadStoredAuthentication, printUsage, printUsageSummary, registerOptionHandlers, setTransportAuth, shouldPerformAuthentication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PryCommand

public PryCommand()
Method Detail

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in class hudson.cli.CLICommand

main

public int main(List<String> args,
                Locale locale,
                InputStream stdin,
                PrintStream stdout,
                PrintStream stderr)
Overrides:
main in class hudson.cli.CLICommand

callMethod

public Object callMethod(Object object,
                         String methodName,
                         Object... args)

getScriptDir

public File getScriptDir()
Returns a directory that stores all the Ruby scripts.


run

protected int run()
Specified by:
run in class hudson.cli.CLICommand

readline

public String readline(String prompt,
                       org.jruby.RubyProc completer)
                throws IOException,
                       InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2012. All Rights Reserved.