C# Class Adf.Base.Tasks.Task

Inheritance: ITask
ファイルを表示 Open project: NLADP/ADF

Public Methods

Method Description
Cancel ( ) : void

Provides the method to cancel one or more tasks by the value of TaskResult.

Continue ( Adf.Core.Tasks.ApplicationTask finishedtask, TaskResult returns ) : void

Provide a method to continue one or more tasks after completion of specified task.

Error ( ) : void

Provides the method to cancel one or more tasks by the value of TaskResult.

Finish ( TaskResult returntype ) : void

Provides the method to finish one or more tasks. Also deactivate the task view of Task class object.

OK ( ) : void

Provide a method to finish one or more tasks with success by the value of TaskResult.

Run ( ) : void

Provides a method to run or execute one or more tasks.

Start ( ) : void

Provides a method to start one or more tasks.

Task ( Adf.Core.Tasks.ApplicationTask name ) : System

Initializes a new instance of the Task class with the specified predefined task name of ApplicationTask class object.

Task ( Adf.Core.Tasks.ApplicationTask name, ITask origin ) : System

Initializes a new instance of the Task class with the specified predefined task name of ApplicationTask and starting point of task.

ValidatePreconditions ( ) : TaskResult

Provide method to validate the coditions of tasks.

Method Details

Cancel() public method

Provides the method to cancel one or more tasks by the value of TaskResult.
public Cancel ( ) : void
return void

Continue() public method

Provide a method to continue one or more tasks after completion of specified task.
public Continue ( Adf.Core.Tasks.ApplicationTask finishedtask, TaskResult returns ) : void
finishedtask Adf.Core.Tasks.ApplicationTask The task which will check for cmpletion.
returns Adf.Core.Tasks.TaskResult The that defines the current status of a task.
return void

Error() public method

Provides the method to cancel one or more tasks by the value of TaskResult.
public Error ( ) : void
return void

Finish() public method

Provides the method to finish one or more tasks. Also deactivate the task view of Task class object.
public Finish ( TaskResult returntype ) : void
returntype Adf.Core.Tasks.TaskResult The that defines the current status of a task.
return void

OK() public method

Provide a method to finish one or more tasks with success by the value of TaskResult.
public OK ( ) : void
return void

Run() public method

Provides a method to run or execute one or more tasks.
public Run ( ) : void
return void

Start() public method

Provides a method to start one or more tasks.
public Start ( ) : void
return void

Task() public method

Initializes a new instance of the Task class with the specified predefined task name of ApplicationTask class object.
public Task ( Adf.Core.Tasks.ApplicationTask name ) : System
name Adf.Core.Tasks.ApplicationTask The that defines the task name whose value will set.
return System

Task() public method

Initializes a new instance of the Task class with the specified predefined task name of ApplicationTask and starting point of task.
public Task ( Adf.Core.Tasks.ApplicationTask name, ITask origin ) : System
name Adf.Core.Tasks.ApplicationTask The that defines the task name whose value will set.
origin ITask The that defines the start point of task.
return System

ValidatePreconditions() public method

Provide method to validate the coditions of tasks.
public ValidatePreconditions ( ) : TaskResult
return Adf.Core.Tasks.TaskResult