ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilStopWorkflowActivity Class Reference

PhpIncludeInspection More...

+ Inheritance diagram for ilStopWorkflowActivity:
+ Collaboration diagram for ilStopWorkflowActivity:

Public Member Functions

 __construct (ilNode $context)
 Default constructor. More...
 
 getContext ()
 Returns the parent object. More...
 
 __destruct ()
 Destructor. More...
 
 setName ($name)
 
 getName ()
 
- Public Member Functions inherited from ilActivity
 execute ()
 

Protected Attributes

 $name
 

Private Attributes

 $context
 

Detailed Description

PhpIncludeInspection

PhpIncludeInspection PhpIncludeInspection Workflow Node of the petri net based workflow engine.

This activity stops a running workflow. This activity is used to abort a workflow, even if there are open nodes. This reduces complexity, since the threads do not need to cross communicate and conditionally merge in order to be able to finish the instances. Use with caution.

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

/

Definition at line 24 of file class.ilStopWorkflowActivity.php.

Constructor & Destructor Documentation

◆ __construct()

ilStopWorkflowActivity::__construct ( ilNode  $context)

Default constructor.

Parameters
ilNode$context

Definition at line 41 of file class.ilStopWorkflowActivity.php.

References $context.

42  {
43  $this->context = $context;
44  }

◆ __destruct()

ilStopWorkflowActivity::__destruct ( )

Destructor.

Definition at line 74 of file class.ilStopWorkflowActivity.php.

75  {
76  unset($this->context);
77  }

Member Function Documentation

◆ getContext()

ilStopWorkflowActivity::getContext ( )

Returns the parent object.

Type is ilNode, implements ilWorkflowEngineElement

Returns
ilNode Parent node of this element.

Implements ilWorkflowEngineElement.

Definition at line 51 of file class.ilStopWorkflowActivity.php.

References $context, and ilActivity\execute().

+ Here is the call graph for this function:

◆ getName()

ilStopWorkflowActivity::getName ( )
Returns
string

Implements ilWorkflowEngineElement.

Definition at line 90 of file class.ilStopWorkflowActivity.php.

References $name.

◆ setName()

ilStopWorkflowActivity::setName (   $name)
Parameters
string$name

Implements ilWorkflowEngineElement.

Definition at line 82 of file class.ilStopWorkflowActivity.php.

References $name.

83  {
84  $this->name = $name;
85  }

Field Documentation

◆ $context

ilStopWorkflowActivity::$context
private

Definition at line 31 of file class.ilStopWorkflowActivity.php.

Referenced by __construct(), and getContext().

◆ $name

ilStopWorkflowActivity::$name
protected

Definition at line 34 of file class.ilStopWorkflowActivity.php.

Referenced by getName(), and setName().


The documentation for this class was generated from the following file: