hudson.cli
Class MailCommand

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

@Extension
public class MailCommand
extends hudson.cli.CLICommand

Sends e-mail through Hudson.

Various platforms have different commands to do this, so on heterogenous platform, doing this via Hudson is easier.

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
MailCommand()
           
 
Method Summary
 String getShortDescription()
           
protected  int run()
           
 
Methods inherited from class hudson.cli.CLICommand
all, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCurrent, getName, getTransportAuthentication, loadStoredAuthentication, main, 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

MailCommand

public MailCommand()
Method Detail

getShortDescription

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

run

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


Copyright © 2004-2013. All Rights Reserved.