Package com.algolia.model.ingestion
Class ScheduleTrigger
java.lang.Object
com.algolia.model.ingestion.ScheduleTrigger
- All Implemented Interfaces:
Trigger
The trigger information for a task of type 'schedule'.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.ingestion.Trigger
Trigger.Deserializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCron()A cron expression that represent at which regularity the task should run.The last time the scheduled task ran (RFC3339 format).The next scheduled run of the task (RFC3339 format).getType()Get typeinthashCode()setLastRun(String lastRun) setNextRun(String nextRun) setType(ScheduleTriggerType type) toString()
-
Constructor Details
-
ScheduleTrigger
public ScheduleTrigger()
-
-
Method Details
-
setType
-
getType
Get type -
setCron
-
getCron
A cron expression that represent at which regularity the task should run. -
setLastRun
-
getLastRun
The last time the scheduled task ran (RFC3339 format). -
setNextRun
-
getNextRun
The next scheduled run of the task (RFC3339 format). -
equals
-
hashCode
public int hashCode() -
toString
-