* The following variables are set by Spring (the task definitions)
*/
/* IScheduledPublishingTask variables */
private long interval = 0; //Time in minutes for a simple scheduled task
private String taskType; //Should be set as "full" or "incremental" (what kind of DataImportAPI update)
private String scheduleType; //Should be either "cron" or "simple"
private String cronExpression; //If scheduleType is "cron", this is the cron expression to use
private String runAtStartup = "false"; //Used in a cron schedule. If set as true will execute the task at startup (useful for testing)
private String connectionType; //Currently should only be "ftp", can add additional connection types in the future
/* API variables */
private String taskName; //used in logging
private String skServiceURL; //if known, the cluster url that the SpatialKey Organization exists on
private String skUsername; //SpatialKey username used for import
private String skPassword; //SpatialKey password used for import
private String skOrganization; //The full SpatialKey organization name (abc.spatialkey.com)
private boolean runAsBackground = false; //If set to false, will wait until the entire dataset is imported for a response (otherwise will disconnect after the upload is complete)
private boolean notifyByEmail = false; //If set to true, and email will be sent to the user when the import is complete
/* FTP Connection Variables - Used when connectionType = "ftp" */
private String ftpHost; //the ftp host address/domain name
private int ftpPort = 21; //the ftp port
private String ftpUsername; //the ftp username
private String ftpPassword; //the ftp password
private boolean ftpDeleteFromRemote = false; //if set to true, will delete the .csv when complete (otherwise renames it so it does not get picked up again)