hudson.cli
Class CloneableCLICommand

java.lang.Object
  extended by hudson.cli.CLICommand
      extended by hudson.cli.CloneableCLICommand
All Implemented Interfaces:
ExtensionPoint, Cloneable

public abstract class CloneableCLICommand
extends CLICommand
implements Cloneable

Cloneable CLICommand. Uses Object.clone() instead of "new" to create a copy for exection.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.cli.CLICommand
channel, locale, stderr, stdin, stdout, TRANSPORT_AUTHENTICATION
 
Constructor Summary
CloneableCLICommand()
           
 
Method Summary
protected  CLICommand createClone()
          Creates a clone to be used to execute a command.
 
Methods inherited from class hudson.cli.CLICommand
all, checkChannel, clone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCurrent, getName, getShortDescription, getTransportAuthentication, loadStoredAuthentication, main, printUsage, printUsageSummary, registerOptionHandlers, run, setTransportAuth, shouldPerformAuthentication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneableCLICommand

public CloneableCLICommand()
Method Detail

createClone

protected CLICommand createClone()
Description copied from class: CLICommand
Creates a clone to be used to execute a command.

Overrides:
createClone in class CLICommand


Copyright © 2004-2013. All Rights Reserved.