Java 类hudson.model.AperiodicWork 实例源码

项目:gitlab-auth-plugin    文件:ScheduledGroupFolderSynchronization.java   
@Override
public AperiodicWork getNewInstance() {
    return new ScheduledGroupFolderSynchronization();
}
项目:rabbitmq-consumer-plugin    文件:ReconnectTimer.java   
@Override
public AperiodicWork getNewInstance() {
    return new ReconnectTimer(reccurencePeriod, stopRequested, updateChannelRequested);
}
项目:rabbitmq-consumer-plugin    文件:ReconnectTimer.java   
/**
 * Gets this extension from extension list.
 *
 * @return the instance of this plugin.
 */
public static ReconnectTimer get() {
    return AperiodicWork.all().get(ReconnectTimer.class);
}