@Extension
public class ReconnectTimer
extends hudson.model.AperiodicWork
| 修飾子とタイプ | フィールドと説明 | 
|---|---|
static long | 
DEFAULT_RECCURENCE_TIME  | 
| コンストラクタと説明 | 
|---|
ReconnectTimer()
Creates instance. 
 | 
ReconnectTimer(long reccurencePeriod,
              boolean stopRequested,
              boolean updateChannelRequested)
Creates instance with specified parameters. 
 | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
protected void | 
doAperiodicRun()  | 
static ReconnectTimer | 
get()
Gets this extension from extension list. 
 | 
long | 
getInitialDelay()  | 
hudson.model.AperiodicWork | 
getNewInstance()  | 
long | 
getRecurrencePeriod()  | 
void | 
setRecurrencePeriod(long reccurencePeriod)
Sets recurrence period. 
 | 
void | 
start()
Starts periodic run. 
 | 
void | 
stop()
Stops periodic run. 
 | 
void | 
updateChannel()
Request updating channel. 
 | 
cancel, scheduledExecutionTimepublic static final long DEFAULT_RECCURENCE_TIME
public ReconnectTimer()
public ReconnectTimer(long reccurencePeriod,
                      boolean stopRequested,
                      boolean updateChannelRequested)
reccurencePeriod - the reccurence period in millis.stopRequested - true if stop timer is requested.updateChannelRequested - true if update channel is required.public long getRecurrencePeriod()
getRecurrencePeriod クラス内 hudson.model.AperiodicWorkpublic void setRecurrencePeriod(long reccurencePeriod)
reccurencePeriod - the recurrnce period in millis.public void updateChannel()
public long getInitialDelay()
getInitialDelay クラス内 hudson.model.AperiodicWorkpublic hudson.model.AperiodicWork getNewInstance()
getNewInstance クラス内 hudson.model.AperiodicWorkprotected void doAperiodicRun()
doAperiodicRun クラス内 hudson.model.AperiodicWorkpublic void stop()
public void start()
public static ReconnectTimer get()
Copyright © 2016–2018. All rights reserved.