libepp_nicbr
|
EPP Launch Phase Class. More...
#include <Launch.H>
Public Types | |
enum | Value { NONE, SUNRISE, LANDRUSH, CLAIMS, OPEN, CUSTOM } |
Possible phase values. | |
Public Member Functions | |
LaunchPhase () | |
Default constructor. | |
LaunchPhase (const Value phase) | |
Constructor used when the phase is not CUSTOM. More... | |
LaunchPhase (const string &name) | |
Constructor used when the phase is CUSTOM. More... | |
void | set_phase (const Value phase) |
Sets the launch phase. More... | |
Value | get_phase () const |
Returns the launch phase. More... | |
void | set_name (const string &name) |
Sets the launch phase name when the phase is CUSTOM. More... | |
string | get_name () const |
Returns the launch phase name when the phase is CUSTOM. More... | |
void | reset () |
Reset object attributes. | |
Static Public Member Functions | |
static string | toStr (const Value value) |
Convert phase to text format. More... | |
static Value | fromStr (const string &value) |
Convert text phase to value. More... | |
EPP Launch Phase Class.
|
inline |
Constructor used when the phase is not CUSTOM.
phase | launch phase |
|
inline |
Constructor used when the phase is CUSTOM.
name | name of the custom phase |
|
inlinestatic |
Convert text phase to value.
value | text phase |
Referenced by cmd_domain_check(), cmd_domain_create(), cmd_domain_delete(), cmd_domain_info(), and cmd_domain_update().
|
inline |
Returns the launch phase name when the phase is CUSTOM.
|
inline |
Returns the launch phase.
Referenced by DomainDeleteCmd::has_launch_extension(), DomainCheckCmd::has_launch_extension(), DomainInfoCmd::has_launch_extension(), DomainCreateCmd::has_launch_extension(), and DomainUpdateCmd::has_launch_extension().
|
inline |
Sets the launch phase name when the phase is CUSTOM.
name | launch phase name when the phase is CUSTOM |
Referenced by cmd_domain_check(), cmd_domain_create(), cmd_domain_delete(), cmd_domain_info(), and cmd_domain_update().
|
inline |
Sets the launch phase.
phase | launch phase |
Referenced by cmd_domain_check(), cmd_domain_create(), cmd_domain_delete(), cmd_domain_info(), and cmd_domain_update().
|
inlinestatic |
Convert phase to text format.
value | phase value |