public class ExportService extends Object
The service automatially starts during deployment.
The scheduler configuration is based on the chron format. E.g:
hour=*;minute=30;
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SCHEDULER_DEFINITION |
static String |
ENV_EXPORT_FTP_HOST |
static String |
ENV_EXPORT_FTP_PASSWORD |
static String |
ENV_EXPORT_FTP_PATH |
static String |
ENV_EXPORT_FTP_PORT |
static String |
ENV_EXPORT_FTP_USER |
static String |
ENV_EXPORT_SCHEDULER_DEFINITION |
static String |
ITEM_EXPORTCOUNT |
static String |
ITEM_EXPORTERRORS |
static String |
ITEM_EXPORTPOINT |
static String |
ITEM_EXPORTSIZE |
static String |
MESSAGE_TOPIC |
static String |
TIMER_ID_EXPORTSERVICE |
| Constructor and Description |
|---|
ExportService() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getNextTimeout()
Updates the timer details of a running timer service.
|
org.imixs.workflow.ItemCollection |
reset()
THis method reset the export sync data and returns an updated metaData object
|
boolean |
startScheduler()
This method initializes the scheduler.
|
boolean |
stopScheduler()
This method stops the scheduler.
|
public static final String TIMER_ID_EXPORTSERVICE
public static final String ITEM_EXPORTPOINT
public static final String ITEM_EXPORTCOUNT
public static final String ITEM_EXPORTSIZE
public static final String ITEM_EXPORTERRORS
public static final String DEFAULT_SCHEDULER_DEFINITION
public static final String ENV_EXPORT_SCHEDULER_DEFINITION
public static final String ENV_EXPORT_FTP_HOST
public static final String ENV_EXPORT_FTP_PATH
public static final String ENV_EXPORT_FTP_PORT
public static final String ENV_EXPORT_FTP_USER
public static final String ENV_EXPORT_FTP_PASSWORD
public static final String MESSAGE_TOPIC
public boolean startScheduler()
throws ArchiveException
The method also verifies the existence of the archive keyspace by loading the archive session object.
ArchiveExceptionpublic boolean stopScheduler()
throws ArchiveException
ArchiveExceptionpublic Date getNextTimeout()
configuration - - the current scheduler configuration to be updated.public org.imixs.workflow.ItemCollection reset()
throws ArchiveException
ArchiveExceptionCopyright © 2016–2020 Imixs Software Solutions GmbH. All rights reserved.