ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
fsm_service Class Reference

Read-only service for FSM states. More...

#include <fsm_service.hpp>

Collaboration diagram for fsm_service:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

 fsm_service (context ctx)
 
std::vector< domain::fsm_statelist_states_for_machine (const std::string &machine_name)
 Lists all current FSM states for the named machine.
 
std::vector< domain::fsm_statelist_all_states ()
 Lists all current FSM states across all machines.
 

Detailed Description

Read-only service for FSM states.

FSM states and machines are system-level reference data seeded at provisioning time. This service always queries the system tenant.

Member Function Documentation

◆ list_states_for_machine()

std::vector< domain::fsm_state > list_states_for_machine ( const std::string &  machine_name)

Lists all current FSM states for the named machine.

Parameters
machine_nameThe machine name (e.g. "report_definition_lifecycle").
Returns
States ordered by name. Empty if the machine is not found.