Workflow::Condition::HasUser man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Workflow::Condition::HUsereContributed Perl DocWorkflow::Condition::HasUser(3)

NAME
       Workflow::Condition::HasUser - Condition to determine if a user is
       available

VERSION
       This documentation describes version 1.05 of this package

SYNOPSIS
	# First setup the condition

	<conditions>
	  <condition name="HasUser"
		     class="Workflow::Condition::HasUser">
	    <param name="user_key" value="CurrentUser" />
	  </condition>
	  ...

	# Next, attach it to an action

	<state name="INITIAL">
	  <action name="create issue"
		  resulting_state="CREATED">
	      <condition name="CurrentUser" />
	  </action>
	  ...

	# Whenever you fetch available actions from state 'INITIAL' you must
	# have the key 'CurrentUser' defined in the workflow context

DESCRIPTION
       Simple -- possibly too simple -- condition to determine if a user
       exists in a particular context key. Actually, it really only determines
       if something exists in a key, but we needed a simple condition to ship
       with the module.

   Parameters
       You can configure the condition with the following parameters:

       ยท   user_key, optional

	   Key in workflow context to check for data. If not specified we use
	   'current_user'.

   METHODS
       evaluate ( $wf )

       Method to evaluate whether a user has been set for a workflow.

       Takes a workflow object as parameter

       Throws Workflow::Exception if evaluation fails

SEE ALSO
       Workflow::Condition

COPYRIGHT
       Copyright (c) 2004 Chris Winters. All rights reserved.

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

AUTHORS
       Chris Winters <chris@cwinters.com>

perl v5.14.1			  2011-07-21   Workflow::Condition::HasUser(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net