NAME

Siebel::Srvrmgr::Daemon::Action::Serializable - role for serializable subclasses of Siebel::Srvrmgr::Daemon::Action

DESCRIPTION

This class is a role, not a subclass of Siebel::Srvrmgr::Daemon::Action. It is intended to be used by subclasses that needs serialization to the filesystem.

ATTRIBUTES

Inherits all attributes from superclass.

dump_file

This attribute is a string used to indicate in which file the data from Siebel::Srvmrgr::ListParser::Output::ListCompDef should be serialized into the OS filesystem. The string can be a complete path or just the filename.

METHODS

get_dump_file

Returns the string stored in the attribute dump_file.

set_dump_file

Sets the attribute dump_file. Expects a string as parameter.

BUILD

Right after object creation this method will process the params attribute and retrieve the first index of the array reference to define the dump_file attribute using the method set_dump_file.

If the params attribute is an empty reference, the method wil raise an exception. If the value given is undefined or an empty string, an exception will be raised as well.

SEE ALSO

Siebel::Srvrmgr::Daemon::Action