public class MediaProviderInfo extends Object
Constructor and Description |
---|
MediaProviderInfo(String id,
String name,
String description)
Instantiates a new provider info.
|
MediaProviderInfo(String id,
String name,
String description,
URL providerLogo)
Instantiates a new provider info.
|
Modifier and Type | Method and Description |
---|---|
MediaProviderConfig |
getConfig()
get the configuration for this scraper
|
String |
getDescription() |
String |
getId() |
String |
getName() |
URL |
getProviderLogo() |
String |
getVersion() |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setProviderLogo(URL providerLogo) |
void |
setVersion(Class<?> clazz)
sets the version of this plugin
Uses "class" to find correct jar in classpath, and extracts manifest information |
void |
setVersion(String version)
Deprecated.
|
String |
toString() |
public MediaProviderInfo(String id, String name, String description)
id
- the id of the providername
- the name of the providerdescription
- a description of the providerpublic MediaProviderInfo(String id, String name, String description, URL providerLogo)
id
- the id of the providername
- the name of the providerdescription
- a description of the providerproviderLogo
- the URL to the (embedded) provider logopublic String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public URL getProviderLogo()
public void setProviderLogo(URL providerLogo)
public String getVersion()
@Deprecated public void setVersion(String version)
setVersion(Class<?>)
version
- public void setVersion(Class<?> clazz)
clazz
- the class, who is implementing this methodpublic MediaProviderConfig getConfig()
Copyright © 2012–2019 tinyMediaManager. All rights reserved.