Class: Kaltura::KalturaExecuteMetadataXsltObjectTask
- Inherits:
-
KalturaObjectTask
- Object
- KalturaObjectBase
- KalturaObjectTask
- Kaltura::KalturaExecuteMetadataXsltObjectTask
- Defined in:
- lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb
Instance Attribute Summary collapse
-
#metadata_object_type ⇒ Object
Metadata object type to lookup the metadata object.
-
#metadata_profile_id ⇒ Object
Metadata profile id to lookup the metadata object.
-
#xslt ⇒ Object
The XSLT to execute.
Attributes inherited from KalturaObjectTask
#stop_processing_on_error, #type
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#metadata_object_type ⇒ Object
Metadata object type to lookup the metadata object
38 39 40 |
# File 'lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb', line 38 def @metadata_object_type end |
#metadata_profile_id ⇒ Object
Metadata profile id to lookup the metadata object
36 37 38 |
# File 'lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb', line 36 def @metadata_profile_id end |
#xslt ⇒ Object
The XSLT to execute
40 41 42 |
# File 'lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb', line 40 def xslt @xslt end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb', line 46 def from_xml(xml_element) super if xml_element.elements['metadataProfileId'] != nil self. = xml_element.elements['metadataProfileId'].text end if xml_element.elements['metadataObjectType'] != nil self. = xml_element.elements['metadataObjectType'].text end if xml_element.elements['xslt'] != nil self.xslt = xml_element.elements['xslt'].text end end |