Package org.gvsig.downloader.spi
Class AbstractDownloaderAuthenticationConfig
java.lang.Object
org.gvsig.downloader.spi.AbstractDownloaderAuthenticationConfig
- All Implemented Interfaces:
Cloneable,DownloaderAuthenticationConfig,org.gvsig.json.SupportFromJson,org.gvsig.json.SupportJson,org.gvsig.json.SupportToJson,org.gvsig.tools.lang.Cloneable,org.gvsig.tools.persistence.Persistent
public abstract class AbstractDownloaderAuthenticationConfig
extends Object
implements DownloaderAuthenticationConfig
- Author:
- jjdelcerro
-
Field Summary
FieldsFields inherited from interface org.gvsig.downloader.DownloaderAuthenticationConfig
CONFIG_PROVIDERNAME_NAME, CONFIG_SERVICEURL_NAME, PERSISTENT_DEFINITION_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDownloaderAuthenticationConfig(String providerName) protectedAbstractDownloaderAuthenticationConfig(String providerName, DownloaderAuthenticationFactory factory, String serviceUrl) -
Method Summary
Modifier and TypeMethodDescriptionclone()voidfromJson(javax.json.JsonObject json) getKey()booleanbooleanisFilled()voidloadFromState(org.gvsig.tools.persistence.PersistentState state) booleanvoidsaveToState(org.gvsig.tools.persistence.PersistentState state) static voidorg.gvsig.json.JsonObjectBuilderMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.downloader.DownloaderAuthenticationConfig
create, createAuthenticationConfigMethods inherited from interface org.gvsig.json.SupportToJson
toJson, toJson, toJsonBuilder
-
Field Details
-
providerName
-
serviceUrl
-
-
Constructor Details
-
AbstractDownloaderAuthenticationConfig
protected AbstractDownloaderAuthenticationConfig(String providerName, DownloaderAuthenticationFactory factory, String serviceUrl) -
AbstractDownloaderAuthenticationConfig
-
-
Method Details
-
getProviderName
- Specified by:
getProviderNamein interfaceDownloaderAuthenticationConfig
-
getFactory
- Specified by:
getFactoryin interfaceDownloaderAuthenticationConfig
-
getServiceUrl
- Specified by:
getServiceUrlin interfaceDownloaderAuthenticationConfig
-
isConfigurable
public boolean isConfigurable()- Specified by:
isConfigurablein interfaceDownloaderAuthenticationConfig
-
isFilled
public boolean isFilled()- Specified by:
isFilledin interfaceDownloaderAuthenticationConfig
-
requestAuthenticationConfig
public boolean requestAuthenticationConfig()- Specified by:
requestAuthenticationConfigin interfaceDownloaderAuthenticationConfig
-
clone
- Specified by:
clonein interfaceorg.gvsig.tools.lang.Cloneable- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getKey
- Specified by:
getKeyin interfaceDownloaderAuthenticationConfig
-
fromJson
public void fromJson(javax.json.JsonObject json) - Specified by:
fromJsonin interfaceorg.gvsig.json.SupportFromJson
-
toJsonBuilder
public org.gvsig.json.JsonObjectBuilder toJsonBuilder()- Specified by:
toJsonBuilderin interfaceorg.gvsig.json.SupportToJson
-
selfRegister
public static void selfRegister() -
saveToState
public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
saveToStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
loadFromState
public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
loadFromStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-