Skip to content

Commit

Permalink
Merge c7e84d0 into d35c782
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuelsmann committed Apr 24, 2021
2 parents d35c782 + c7e84d0 commit e51b7d0
Showing 1 changed file with 58 additions and 9 deletions.
67 changes: 58 additions & 9 deletions lib/Workflow/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,8 @@ the 'type' and 'description' keys are at the top level
=item *
the 'extra_data' key holds an array of zero or more hashrefs with
'table', 'field', 'class' and 'context' keys
'persister' key holds a string declaring the name of a persister
as declared in the array of persisters
=item *
Expand Down Expand Up @@ -393,8 +392,11 @@ keys
actions:
action \@
name $
field \@
name $
class $
description $
type $
field \@
name $
is_required yes|no
type $
Expand All @@ -417,6 +419,13 @@ array of one or more action hashrefs with 'name', 'class' and
=item *
each 'action' may specify a 'type' (default value: 'default'); in case
a workflow specifies a 'type', actions specifying the same 'type' will
be preferred over actions with the 'default' type when multiple actions
by the same name exist.
=item *
each 'action' may have zero or more values used to fill it; each value
has a 'name', 'description' and 'necessity' ('required' or 'optional')
Expand All @@ -435,11 +444,51 @@ each 'action' may have any number of 'validator' hashrefs, each with a
=head2 persister
persister:
name $ # all persister classes
class $ # all persister classes
use_random yes|no # all persister classes
use_uuid yes|no # all persister classes
driver $ # DBI persisters
dsn $ # DBI persisters
user $ # DBI persisters
password $ # DBI persisters
workflow_table $ # DBI persisters
history_table $ # DBI persisters
autocommit $ # DBI persisters
date_format $ # DBI persisters
table $ # DBI/ExtraData persisters
data_field $ # DBI/ExtraData persisters
context_key $ # DBI/ExtraData persisters
path $ # File persisters
=over 4
=item *
'name' key holds a string declaring the name by which workflows may
refer to this persister configuration
=item *
'class' key names a Perl class name to use when instantiating the persister
=item *
'use_random' key holds a string declaring (through 'yes'/'no' value) to
use random values for the workflow identifier
=item *
'use_uuid' key holds a string declaring (through 'yes'/'no' value) to
use UUID (universally unique ID) values for the workflow identifier; UUIDs
take preference over random IDs
=back
extra_table $
extra_field $
extra_class $
extra_context $
For documentation of the other keys, please refer to the respective classes.
=head1 COPYRIGHT
Expand Down

0 comments on commit e51b7d0

Please sign in to comment.