Class EncodingProfileScanner
java.lang.Object
org.opencastproject.composer.impl.EncodingProfileScanner
- All Implemented Interfaces:
org.apache.felix.fileinstall.ArtifactInstaller,org.apache.felix.fileinstall.ArtifactListener
public class EncodingProfileScanner
extends Object
implements org.apache.felix.fileinstall.ArtifactInstaller
This manager class tries to read encoding profiles from the classpath.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.opencastproject.composer.api.EncodingProfilegetProfile(String id) Returns the encoding profile for the given identifier ornullif no such profile has been configured.Returns the list of profiles.voidvoidvoid
-
Constructor Details
-
EncodingProfileScanner
public EncodingProfileScanner()
-
-
Method Details
-
getProfiles
Returns the list of profiles.- Returns:
- the profile definitions
-
getProfile
Returns the encoding profile for the given identifier ornullif no such profile has been configured.- Parameters:
id- the profile identifier- Returns:
- the profile
-
canHandle
- Specified by:
canHandlein interfaceorg.apache.felix.fileinstall.ArtifactListener- See Also:
-
install
- Specified by:
installin interfaceorg.apache.felix.fileinstall.ArtifactInstaller- Throws:
Exception- See Also:
-
uninstall
- Specified by:
uninstallin interfaceorg.apache.felix.fileinstall.ArtifactInstaller- Throws:
Exception- See Also:
-
update
- Specified by:
updatein interfaceorg.apache.felix.fileinstall.ArtifactInstaller- Throws:
Exception- See Also:
-