#ifndef DIGEDAG_ENUM_HPP #define DIGEDAG_ENUM_HPP #include #include #include #include "config.hpp" namespace digedag { enum state { Incomplete = 0, Stopped = 1, Pending = 2, Running = 3, Done = 4, Failed = 5 }; std::string state_to_string (state s); std::string saga_state_to_string (saga::task_base::state s); } // namespace digedag #endif // DIGEDAG_ENUM_HPP