public abstract class AbstractDownloaderAuthenticationConfig extends java.lang.Object implements DownloaderAuthenticationConfig
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
providerName |
protected java.lang.String |
serviceUrl |
CONFIG_PROVIDERNAME_NAME, CONFIG_SERVICEURL_NAME, PERSISTENT_DEFINITION_NAME| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDownloaderAuthenticationConfig(java.lang.String providerName) |
protected |
AbstractDownloaderAuthenticationConfig(java.lang.String providerName,
DownloaderAuthenticationFactory factory,
java.lang.String serviceUrl) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a copy of the object.
|
void |
fromJson(JsonObject json) |
DownloaderAuthenticationFactory |
getFactory() |
java.lang.String |
getKey() |
java.lang.String |
getProviderName() |
java.lang.String |
getServiceUrl() |
boolean |
isConfigurable() |
boolean |
isFilled() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
boolean |
requestAuthenticationConfig() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
static void |
selfRegister() |
JsonObjectBuilder |
toJsonBuilder() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createAuthenticationConfigcloneQuietly, cloneQuietlytoJson, toJson, toJsonBuilderprotected final java.lang.String providerName
protected java.lang.String serviceUrl
protected AbstractDownloaderAuthenticationConfig(java.lang.String providerName,
DownloaderAuthenticationFactory factory,
java.lang.String serviceUrl)
protected AbstractDownloaderAuthenticationConfig(java.lang.String providerName)
public java.lang.String getProviderName()
getProviderName in interface DownloaderAuthenticationConfigpublic DownloaderAuthenticationFactory getFactory()
getFactory in interface DownloaderAuthenticationConfigpublic java.lang.String getServiceUrl()
getServiceUrl in interface DownloaderAuthenticationConfigpublic boolean isConfigurable()
isConfigurable in interface DownloaderAuthenticationConfigpublic boolean isFilled()
isFilled in interface DownloaderAuthenticationConfigpublic boolean requestAuthenticationConfig()
requestAuthenticationConfig in interface DownloaderAuthenticationConfigpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.public java.lang.String getKey()
getKey in interface DownloaderAuthenticationConfigpublic void fromJson(JsonObject json)
fromJson in interface SupportFromJsonpublic JsonObjectBuilder toJsonBuilder()
toJsonBuilder in interface SupportToJsonpublic static void selfRegister()
public void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceException