public class LogStreamingOptions extends Object
Constructor and Description |
---|
LogStreamingOptions(com.offbytwo.jenkins.helper.BuildConsoleStreamListener streamListener)
Constructor.
|
LogStreamingOptions(com.offbytwo.jenkins.helper.BuildConsoleStreamListener streamListener,
int pollingInterval,
int pollingTimeout)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getPollingInterval() |
int |
getPollingTimeout() |
com.offbytwo.jenkins.helper.BuildConsoleStreamListener |
getStreamListener() |
void |
setPollingInterval(int pollingInterval) |
void |
setPollingTimeout(int pollingTimeout) |
void |
setStreamListener(com.offbytwo.jenkins.helper.BuildConsoleStreamListener streamListener) |
public LogStreamingOptions(com.offbytwo.jenkins.helper.BuildConsoleStreamListener streamListener)
streamListener
- the listener to receive log data.public LogStreamingOptions(com.offbytwo.jenkins.helper.BuildConsoleStreamListener streamListener, int pollingInterval, int pollingTimeout)
streamListener
- the listener to receive log data.pollingInterval
- in secondspollingTimeout
- in secondspublic int getPollingInterval()
public void setPollingInterval(int pollingInterval)
public int getPollingTimeout()
public void setPollingTimeout(int pollingTimeout)
public com.offbytwo.jenkins.helper.BuildConsoleStreamListener getStreamListener()
public void setStreamListener(com.offbytwo.jenkins.helper.BuildConsoleStreamListener streamListener)
Copyright © 2017 JBoss by Red Hat. All Rights Reserved.