Class SourceControlDriverItem
Object
com.wowza.wms.sourcecontrol.drivers.SourceControlDriverItem
SourceControlDriverItem: data class that holds the definition of a Source Control Driver.
-
Constructor Summary
ConstructorsConstructorDescriptionSourceControlDriverItem
(String name, String baseClass) Create a SourceControlDriverItem with the provided name and baseClass settings. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearProperty
(String name) Clear a property by name.Get the baseClass of the driver.Get the description.getName()
Get the name used to refer to this driver item.Get the set of properties defined.getProperty
(String name) Get a property by name.void
setBaseClass
(String baseClass) Set the baseClass of the driver.void
setDescription
(String description) Set the description.void
Set the name use to refer to this driver item.void
setProperty
(String name, String value) Set a property to a string value.toString()
Returns a string presentation of the driver item.
-
Constructor Details
-
SourceControlDriverItem
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 baseClassbaseClass
- the baseClass to use for a SourceControlDriver configured with the supplied name
-
-
Method Details
-
getBaseClass
Get the baseClass of the driver.- Returns:
- the string name of the baseClass
-
setBaseClass
Set the baseClass of the driver.- Parameters:
baseClass
- the string name of the baseClass
-
getName
Get the name used to refer to this driver item.- Returns:
- the name used to refer to this driver item
-
setName
Set the name use to refer to this driver item.- Parameters:
name
- the name to refer to this driver item by
-
setProperty
Set a property to a string value.- Parameters:
name
- property namevalue
- property value
-
clearProperty
Clear a property by name.- Parameters:
name
- of the property to clear
-
getProperty
Get a property by name.- Parameters:
name
- of the property to get- Returns:
- the value of the property or null if not set
-
getProperties
Get the set of properties defined.- Returns:
- WMSProperties containing the set of defined properties
-
getDescription
Get the description.- Returns:
- the description of the SourceControlDriverItem
-
setDescription
Set the description.- Parameters:
description
-
-
toString
Returns a string presentation of the driver item.
-