NAME
Class::Workflow::State::Simple - A useful class (or base class) for writing states.
SYNOPSIS
use Class::Workflow::State::Simple;
my $state = Class::Workflow::State::Simple->new(
name => "foo",
transitions => [ $tn ], # objects
);
DESCRIPTION
FIELDS
- name
-
A string that can be used to identify the state to a factory object like Class::Workflow.
- auto_transition
ROLES
This class consumes the following roles: