Package jetbrains.buildServer.agent
Interface AgentIdleTasks.Task
-
- Enclosing interface:
- AgentIdleTasks
public static interface AgentIdleTasks.Task
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(InterruptState interruptState)During the execution each task should check for interruption status and exit once interruption occurs.StringgetName()
-
-
-
Method Detail
-
getName
@NotNull String getName()
- Returns:
- name of the task
-
execute
void execute(@NotNull InterruptState interruptState)During the execution each task should check for interruption status and exit once interruption occurs.- Parameters:
interruptState- provides interrupt state
-
-