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