public abstract class ICSImportTask extends java.lang.Object implements IServerTask
| Modifier and Type | Class and Description |
|---|---|
static class |
ICSImportTask.Mode |
| Modifier and Type | Field and Description |
|---|---|
protected ICSImportTask.Mode |
mode |
protected java.util.Optional<CalendarOwner> |
owner |
protected IInternalCalendar |
service |
protected int |
STEP |
| Constructor and Description |
|---|
ICSImportTask(IInternalCalendar calendar,
java.util.Optional<CalendarOwner> owner,
ICSImportTask.Mode mode) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
convertToVEventList(java.util.function.Consumer<ItemValue<VEventSeries>> consumer) |
void |
run(IServerTaskMonitor monitor) |
protected void |
sanitizeSeries(ItemValue<VEventSeries> series) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelprotected final IInternalCalendar service
protected final java.util.Optional<CalendarOwner> owner
protected final int STEP
protected final ICSImportTask.Mode mode
public ICSImportTask(IInternalCalendar calendar, java.util.Optional<CalendarOwner> owner, ICSImportTask.Mode mode)
protected abstract void convertToVEventList(java.util.function.Consumer<ItemValue<VEventSeries>> consumer)
public void run(IServerTaskMonitor monitor) throws java.lang.Exception
run in interface IServerTaskjava.lang.Exceptionprotected void sanitizeSeries(ItemValue<VEventSeries> series)
Copyright © 2022. All Rights Reserved.