lucee.Componentcommandbox.system.modules_app.task-commands.models.TaskService
Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com I handle running tasks
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
CommandService
|
true
|
false
|
|
any
|
consoleLogger
|
true
|
false
|
|
any
|
cr
|
true
|
false
|
|
any
|
FileSystemUtil
|
true
|
false
|
|
any
|
job
|
true
|
false
|
|
any
|
logger
|
true
|
false
|
|
any
|
metadataCache
|
true
|
false
|
|
any
|
shell
|
true
|
false
|
|
any
|
wirebox
|
true
|
false
|
Method Summary | |
---|---|
any
|
createTaskCFC(string taskFile)
|
string
|
getCommandService()
|
string
|
getConsoleLogger()
|
string
|
getCr()
|
string
|
getFileSystemUtil()
|
string
|
getJob()
|
string
|
getLogger()
|
string
|
getMetadataCache()
|
string
|
getShell()
|
array
|
getTaskMethods(string taskFile)
Returns the public methods in a task component. |
string
|
getWirebox()
|
any
|
onDIComplete()
|
string
|
runTask(string taskFile, string target='run', [any taskArgs='[runtime expression]'])
Runs a task. |
any
|
setCommandService(any CommandService)
|
any
|
setConsoleLogger(any consoleLogger)
|
any
|
setCr(any cr)
|
any
|
setFileSystemUtil(any FileSystemUtil)
|
any
|
setJob(any job)
|
any
|
setLogger(any logger)
|
any
|
setMetadataCache(any metadataCache)
|
any
|
setShell(any shell)
|
any
|
setWirebox(any wirebox)
|
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- CommandServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- logbox:logger:consoleserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- cr@constantsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- FileSystemserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- interactiveJobserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- logbox:logger:{this}serializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- cachebox:metadataCacheserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- Shellserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- wireboxserializable
- trueMethod Detail |
---|
taskFile
Returns the public methods in a task component
taskFile
- Path to the Task CFCRuns a task
taskFile
- Path to the Task CFC that you want to runtarget
- Method in Task CFC to runtaskArgs
- Struct of arguments to pass on to the taskCommandService
consoleLogger
cr
FileSystemUtil
job
logger
metadataCache
shell
wirebox