Class StatisticsProviderRandomService

java.lang.Object
org.opencastproject.statistics.provider.random.StatisticsProviderRandomService
All Implemented Interfaces:
org.apache.felix.fileinstall.ArtifactInstaller, org.apache.felix.fileinstall.ArtifactListener

public class StatisticsProviderRandomService extends Object implements org.apache.felix.fileinstall.ArtifactInstaller
Implements statistics providers using random data (showcase).
  • Constructor Details

    • StatisticsProviderRandomService

      public StatisticsProviderRandomService()
  • Method Details

    • setStatisticsCoordinator

      public void setStatisticsCoordinator(org.opencastproject.statistics.api.StatisticsCoordinator service)
    • activate

      public void activate(org.osgi.service.component.ComponentContext cc)
    • deactivate

      public void deactivate(org.osgi.service.component.ComponentContext cc)
    • install

      public void install(File file) throws Exception
      Specified by:
      install in interface org.apache.felix.fileinstall.ArtifactInstaller
      Throws:
      Exception
    • uninstall

      public void uninstall(File file) throws Exception
      Specified by:
      uninstall in interface org.apache.felix.fileinstall.ArtifactInstaller
      Throws:
      Exception
    • canHandle

      public boolean canHandle(File file)
      Specified by:
      canHandle in interface org.apache.felix.fileinstall.ArtifactListener
    • update

      public void update(File file) throws Exception
      Specified by:
      update in interface org.apache.felix.fileinstall.ArtifactInstaller
      Throws:
      Exception