Class SourceControlDriverItem
- Object
- 
- com.wowza.wms.sourcecontrol.drivers.SourceControlDriverItem
 
- 
 public class SourceControlDriverItem extends ObjectSourceControlDriverItem: data class that holds the definition of a Source Control Driver. 
- 
- 
Constructor SummaryConstructors Constructor Description SourceControlDriverItem(String name, String baseClass)Create a SourceControlDriverItem with the provided name and baseClass settings.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearProperty(String name)Clear a property by name.StringgetBaseClass()Get the baseClass of the driver.StringgetDescription()Get the description.StringgetName()Get the name used to refer to this driver item.WMSPropertiesgetProperties()Get the set of properties defined.StringgetProperty(String name)Get a property by name.voidsetBaseClass(String baseClass)Set the baseClass of the driver.voidsetDescription(String description)Set the description.voidsetName(String name)Set the name use to refer to this driver item.voidsetProperty(String name, String value)Set a property to a string value.StringtoString()Returns a string presentation of the driver item.
 
- 
- 
- 
Constructor Detail- 
SourceControlDriverItempublic SourceControlDriverItem(String name, String baseClass)Create a SourceControlDriverItem with the provided name and baseClass settings.- Parameters:
- name- The name used when configuring a source control driver that uses the supplied baseClass
- baseClass- the baseClass to use for a SourceControlDriver configured with the supplied name
 
 
- 
 - 
Method Detail- 
getBaseClasspublic String getBaseClass() Get the baseClass of the driver.- Returns:
- the string name of the baseClass
 
 - 
setBaseClasspublic void setBaseClass(String baseClass) Set the baseClass of the driver.- Parameters:
- baseClass- the string name of the baseClass
 
 - 
getNamepublic String getName() Get the name used to refer to this driver item.- Returns:
- the name used to refer to this driver item
 
 - 
setNamepublic void setName(String name) Set the name use to refer to this driver item.- Parameters:
- name- the name to refer to this driver item by
 
 - 
setPropertypublic void setProperty(String name, String value)Set a property to a string value.- Parameters:
- name- property name
- value- property value
 
 - 
clearPropertypublic void clearProperty(String name) Clear a property by name.- Parameters:
- name- of the property to clear
 
 - 
getPropertypublic String getProperty(String name) Get a property by name.- Parameters:
- name- of the property to get
- Returns:
- the value of the property or null if not set
 
 - 
getPropertiespublic WMSProperties getProperties() Get the set of properties defined.- Returns:
- WMSProperties containing the set of defined properties
 
 - 
getDescriptionpublic String getDescription() Get the description.- Returns:
- the description of the SourceControlDriverItem
 
 - 
setDescriptionpublic void setDescription(String description) Set the description.- Parameters:
- description-
 
 - 
toStringpublic String toString() Returns a string presentation of the driver item.- Overrides:
- toStringin class- Object
- Returns:
- string presentation for the driver item
 
 
- 
 
-