AbstractTask
AbstractTask
class
AbstractTask extends Model implements
DecoratorItemInterface, TaskInterface
Traits
DecoratorItemTrait
RegisterTrait
Properties summary
Type | Property | Description | |
---|---|---|---|
protected | $table | ||
protected | $guarded | ||
protected | $casts | ||
protected | $defaultPriority | ||
protected | $defaultIsEnabled | ||
protected | $defaultIsPeriodic | ||
protected | $defaultFrequency | ||
protected | $defaultDescription | ||
protected | $defaultName | ||
protected | $accessLevel | ||
protected | $preExecuteCallbacks | ||
protected | $postExecuteCallbacks | ||
protected | $outputs | [['name' => 'Foo Bar', 'defaultValue' => 'baz', 'identifier' => 'foo'],] | |
protected | $callback | ||
protected | $skipDailyCron |
Methods summary
Return Type | Method Name | Description | |
---|---|---|---|
createTable($drop = false) | - | ||
static | boot() | - | |
static | firstOfClassOrNew(array $attributes = []) | - | |
static | register($allowDuplicates = false) | - | |
getDefaultAttributes() | - | ||
Collection | newCollection(array $models = array()) | - | |
getName() | - | ||
setName($name) | - | ||
execute() | - | ||
run() | - | ||
getPriority() | - | ||
setPriority($priority) | - | ||
getDescription() | - | ||
setDescription($description) | - | ||
getFrequencyMinutes() | - | ||
setFrequencyMinutes($minutes) | - | ||
anticipatedNextRun(Carbon $date = null) | - | ||
anticipatedNextMonthlyRun($checkDay, Carbon $date = null) | - | ||
isEnabled() | - | ||
setEnabled($state) | - | ||
isPeriodic() | - | ||
setPeriodic($state) | - | ||
getStatus() | - | ||
getStatusAttribute($status) | - | ||
status() | - | ||
getSystemName() | - | ||
getAccessLevel() | - | ||
array | getOutputKeys() | - | |
isDailyTask() | - | ||
monthlyDayOfExecution() | - | ||
isSkipDailyCron() | - |