net.praqma.logging
Class LoggingJobProperty

java.lang.Object
  extended by hudson.model.JobProperty<hudson.model.Job<?,?>>
      extended by net.praqma.logging.LoggingJobProperty
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.model.ReconfigurableDescribable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep

public class LoggingJobProperty
extends hudson.model.JobProperty<hudson.model.Job<?,?>>


Nested Class Summary
static class LoggingJobProperty.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static String[] levels
           
 
Fields inherited from class hudson.model.JobProperty
owner
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
LoggingJobProperty()
           
LoggingJobProperty(boolean pollLogging, int pruneDays)
           
 
Method Summary
 Collection<? extends hudson.model.Action> getJobActions(hudson.model.Job<?,?> job)
           
 LoggingAction getLoggingAction(long id, String name)
           
 LoggingHandler getPollhandler(long id, String name)
           
 int getPruneDays()
           
 List<LoggingTarget> getTargets()
           
 boolean isPollLogging()
           
 void resetPollhandler(long id)
           
 String toString()
           
 
Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobAction, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

levels

public static final String[] levels
Constructor Detail

LoggingJobProperty

public LoggingJobProperty()

LoggingJobProperty

@DataBoundConstructor
public LoggingJobProperty(boolean pollLogging,
                                               int pruneDays)
Method Detail

getPollhandler

public LoggingHandler getPollhandler(long id,
                                     String name)
                              throws IOException
Throws:
IOException

resetPollhandler

public void resetPollhandler(long id)

getLoggingAction

public LoggingAction getLoggingAction(long id,
                                      String name)
                               throws IOException
Throws:
IOException

getJobActions

public Collection<? extends hudson.model.Action> getJobActions(hudson.model.Job<?,?> job)
Overrides:
getJobActions in class hudson.model.JobProperty<hudson.model.Job<?,?>>

getTargets

public List<LoggingTarget> getTargets()

isPollLogging

public boolean isPollLogging()

getPruneDays

public int getPruneDays()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2013. All Rights Reserved.