public interface ITask
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get description of the task.
|
String |
getName()
Get the name of the task including path.
|
void |
run(IContext context)
Run the task using provided context.
|
void |
setLogPrefix(String prefix)
Set the prefix for log messages.
|
boolean |
shouldRun(IContext context)
Check if the task should run.
|
String getName()
String getDescription()
boolean shouldRun(IContext context)
context
- Context containing run typevoid setLogPrefix(String prefix)
prefix
- Log message prefixCopyright © 2021. All rights reserved.