Class: Kaltura::KalturaExecuteMetadataXsltObjectTask

Inherits:
KalturaObjectTask show all
Defined in:
lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#metadata_object_typeObject

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_idObject

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

#xsltObject

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