Class ListProvidersScanner

java.lang.Object
org.opencastproject.list.impl.ListProvidersScanner
All Implemented Interfaces:
org.apache.felix.fileinstall.ArtifactInstaller, org.apache.felix.fileinstall.ArtifactListener

public class ListProvidersScanner extends Object implements org.apache.felix.fileinstall.ArtifactInstaller
  • Field Details

    • LIST_PROVIDERS_DIRECTORY

      public static final String LIST_PROVIDERS_DIRECTORY
      The directory name that has the properties file defining the list providers
      See Also:
    • LIST_NAME_KEY

      public static final String LIST_NAME_KEY
      The key to look for in the properties file to name the list provider.
      See Also:
    • LIST_TRANSLATABLE_KEY

      public static final String LIST_TRANSLATABLE_KEY
      The key to look for in the properties file defining if the list's values should be translated
      See Also:
    • LIST_ORG_KEY

      public static final String LIST_ORG_KEY
      The key to attach this list to a particular org, if not present then all orgs can get list
      See Also:
    • LIST_DEFAULT_KEY

      public static final String LIST_DEFAULT_KEY
      The key to define a default value
      See Also:
  • Constructor Details

    • ListProvidersScanner

      public ListProvidersScanner()
  • Method Details

    • setListProvidersService

      public void setListProvidersService(ListProvidersService listProvidersService)
    • canHandle

      public boolean canHandle(File artifact)
      Specified by:
      canHandle in interface org.apache.felix.fileinstall.ArtifactListener
      See Also:
      • ArtifactListener.canHandle(java.io.File)
    • install

      public void install(File artifact)
      Specified by:
      install in interface org.apache.felix.fileinstall.ArtifactInstaller
    • update

      public void update(File artifact)
      Specified by:
      update in interface org.apache.felix.fileinstall.ArtifactInstaller
    • uninstall

      public void uninstall(File artifact)
      Specified by:
      uninstall in interface org.apache.felix.fileinstall.ArtifactInstaller