NAME

Daje::Workflow::Loader - It's loader for

Daje-Workflow JSON based workflows

SYNOPSIS

use Daje::Workflow::Loader;

my $workflows = Daje::Workflow::Loader->new(
     path => 'path
)->load();

my $workflow = $workflows->get_workflow('workflow');

my $state = $workflows->get_state('workflow','state');

my $pre_checks = $workflows->get_pre_checks('workflow','state');

my $post_checks = $workflows->get_post_checks('workflow','state');

my $activity = get_activity($workflow, $state_name, $activity_name);

DESCRIPTION

Daje::Workflow::Loader is a workflow loader for

the Daje-Workflow engine

REQUIRES

Daje::Workflow::Loader::Load

Mojo::Base

METHODS

get_activity($self,

get_activity($self,();

get_next_state($self,

get_next_state($self,();

get_post_checks($self,

get_post_checks($self,();

get_pre_checks($self,

get_pre_checks($self,();

get_state($self,

get_state($self,();

get_workflow($self,

get_workflow($self,();

Get the entire workflow as a hashref

load($self)

load($self)();

Load the data into the object

AUTHOR

janeskil1525 <janeskil1525@gmail.com>

LICENSE

Copyright (C) janeskil1525.

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