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 Details

    • 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 baseClass
      baseClass - the baseClass to use for a SourceControlDriver configured with the supplied name
  • Method Details

    • 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 name
      value - 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 class Object
      Returns:
      string presentation for the driver item