Class AgencyExportHandler
- java.lang.Object
-
- com.openindex.openestate.tool.agency.AgencyExportHandler
-
public final class AgencyExportHandler extends Object
AgencyExportHandler.- Author:
- Andreas Rudolph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgencyExportHandler.Job
static interface
AgencyExportHandler.JobListener
static class
AgencyExportHandler.JobState
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addJobListener(AgencyExportHandler.JobListener jobListener)
static void
cancelExportJob(long exportId, boolean immediately)
static void
cancelExportJobs(boolean immediately)
static AgencyExportHandler.Job
getExportJob(long exportId)
static AgencyExportHandler.JobState
getExportJobState(long exportId)
static boolean
hasExportJob(long exportId)
static boolean
hasRunningJobs()
static boolean
isJobError(long exportId)
static boolean
isJobRunning(long exportId)
static boolean
isJobTransportFailed(long exportId)
static boolean
putExportJob(ExportContext context)
static void
removeExportJob(long exportId)
static void
removeJobListener(AgencyExportHandler.JobListener jobListener)
static boolean
restartFailedTransport(long exportId)
static void
start()
static void
stop(boolean immediately)
-
-
-
Method Detail
-
addJobListener
public static void addJobListener(AgencyExportHandler.JobListener jobListener)
-
cancelExportJob
public static void cancelExportJob(long exportId, boolean immediately)
-
cancelExportJobs
public static void cancelExportJobs(boolean immediately)
-
getExportJob
public static AgencyExportHandler.Job getExportJob(long exportId)
-
getExportJobState
public static AgencyExportHandler.JobState getExportJobState(long exportId)
-
hasExportJob
public static boolean hasExportJob(long exportId)
-
hasRunningJobs
public static boolean hasRunningJobs()
-
isJobError
public static boolean isJobError(long exportId)
-
isJobRunning
public static boolean isJobRunning(long exportId)
-
isJobTransportFailed
public static boolean isJobTransportFailed(long exportId)
-
putExportJob
public static boolean putExportJob(ExportContext context)
-
removeExportJob
public static void removeExportJob(long exportId)
-
removeJobListener
public static void removeJobListener(AgencyExportHandler.JobListener jobListener)
-
restartFailedTransport
public static boolean restartFailedTransport(long exportId)
-
start
public static void start()
-
stop
public static void stop(boolean immediately)
-
-