#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); enum checkpoint_method { LocalFile = 1, AdvertService = 2, None = 0 }; std::string checkpoint_method_to_string (checkpoint_method m); } // namespace digedag #endif // DIGEDAG_ENUM_HPP