net.praqma.logging
Class LoggingAction

java.lang.Object
  extended by net.praqma.logging.LoggingAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class LoggingAction
extends Object
implements hudson.model.Action


Field Summary
protected  LoggingHandler handler
           
protected  LoggingStream loggingStream
           
protected  hudson.model.Run run
           
protected  List<LoggingTarget> targets
           
 
Constructor Summary
LoggingAction(hudson.model.Run run, FileOutputStream out, List<LoggingTarget> targets)
           
LoggingAction(hudson.model.Run run, LoggingHandler handler, List<LoggingTarget> targets)
           
 
Method Summary
 void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 String getDisplayName()
           
 LoggingHandler getHandler()
           
 String getIconFileName()
           
 LoggingStream getLoggingStream()
           
 OutputStream getOut()
           
 List<LoggingTarget> getTargets()
           
 String getUrlName()
           
 void setHandler(LoggingHandler handler)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

loggingStream

protected transient LoggingStream loggingStream

targets

protected transient List<LoggingTarget> targets

handler

protected transient LoggingHandler handler

run

protected hudson.model.Run run
Constructor Detail

LoggingAction

public LoggingAction(hudson.model.Run run,
                     FileOutputStream out,
                     List<LoggingTarget> targets)

LoggingAction

public LoggingAction(hudson.model.Run run,
                     LoggingHandler handler,
                     List<LoggingTarget> targets)
Method Detail

getOut

public OutputStream getOut()

getLoggingStream

public LoggingStream getLoggingStream()

getTargets

public List<LoggingTarget> getTargets()

getHandler

public LoggingHandler getHandler()

setHandler

public void setHandler(LoggingHandler handler)

doIndex

public void doIndex(org.kohsuke.stapler.StaplerRequest req,
                    org.kohsuke.stapler.StaplerResponse rsp)
             throws IOException,
                    javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012. All Rights Reserved.