IListStep Interface |
Represents the information of a step/task entry in a background task to be monitored. This step has a collection of sub-steps.
Sub-steps need not have a particular order. List steps can advance from one step to any other step.
Namespace: Ingeniux.CMS
The IListStep type exposes the following members.
| Name | Description | |
|---|---|---|
| Count |
Gets the count of sub-steps.
| |
| Description |
Gets the description of the step.
(Inherited from IStep.) | |
| Error |
Gets the error message of the step.
(Inherited from IStep.) | |
| ID |
Gets the identifier of the step.
(Inherited from IStep.) | |
| Name |
Gets the name of the step.
(Inherited from IStep.) | |
| OngoingStep |
Gets the ongoing sub-step. Returns null if this step is not started.
| |
| PercentCompleted |
Gets the percentage of sub-steps that are in the COMPLETED state.
| |
| State |
Gets the state of the step.
(Inherited from IStep.) | |
| StepsCompleted |
Gets the number of sub-steps that are in the COMPLETED state.
| |
| Weight |
Gets the weight of this step.
(Inherited from IStepWithWeight.) |
| Name | Description | |
|---|---|---|
| Add |
Adds a new sub step.
| |
| AdvanceStep |
Advance to the specified target step. Target step can be in any state, even a completed state.
The specified step is the Ongoing Step. Its state is marked as ON_GOING.
If the list step itself hasn't started, it will be started. Otherwise, the ongoing step is marked as COMPLETED.
| |
| Begin |
Changes the step's state to ON_GOING.
(Inherited from IStep.) | |
| Clear |
Clears sub-steps.
| |
| Complete |
Changes the step's state to COMPLETED.
(Inherited from IStep.) | |
| CompleteWithError |
Changes the step's state to COMPLETED, but includes an error message; this is not a successful completion.
(Inherited from IStep.) | |
| Remove |
Removes a sub-step.
| |
| Step(Int32) |
Retrieves a sub-step by its order index.
| |
| Step(String) |
Retrieves a sub-step by its unique ID.
| |
| Steps |
Retrieves the sub-steps of this step.
|