class Kaltura::KalturaDropFolderContentFileHandlerConfig

Attributes

content_match_policy[RW]
slug_regex[RW]

Regular expression that defines valid file names to be handled.

The following might be extracted from the file name and used if defined:
- (?P<referenceId>\w+) - will be used as the drop folder file's parsed slug.
- (?P<flavorName>\w+)  - will be used as the drop folder file's parsed flavor.

Public Instance Methods

content_match_policy=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb, line 700
def content_match_policy=(val)
        @content_match_policy = val.to_i
end
from_xml(xml_element) click to toggle source
# File lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb, line 704
def from_xml(xml_element)
        super
        if xml_element.elements['contentMatchPolicy'] != nil
                self.content_match_policy = xml_element.elements['contentMatchPolicy'].text
        end
        if xml_element.elements['slugRegex'] != nil
                self.slug_regex = xml_element.elements['slugRegex'].text
        end
end