Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Class::Workflow::StateUsercContributed PClass::Workflow::State::AcceptHooks(3)

NAME
       Class::Workflow::State::AcceptHooks - Add hooks that are	fired when the
       state accepts an	instance.

SYNOPSIS
	       use Class::Workflow::State::AcceptHooks;

DESCRIPTION
       When an instance	enters a state it is sometimes convenient to call
       hooks, for e.g. notification or logging purposes.

       These hooks should not have any side effect that	directly affects the
       workflow	instance in any	way - for that functionality you should	use
       transitions.

       Hooks' returns values are thus ignored.

METHODS
       add_hook
       add_hooks
	   Add hooks. These should be sub references.

       clear_hooks
	   Clear the list of hooks.

       hooks
	   Get the list	of registered hooks.

AUGMENTED METHODS
       accept_instance
	   This	method has an "after" hook that	calls the hooks	in the order
	   of their definition.

perl v5.32.0			  2009-0Class::Workflow::State::AcceptHooks(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | AUGMENTED METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Class::Workflow::State::AcceptHooks&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help