Class Configuration
- java.lang.Object
-
- com.adobe.aemfd.dermis.authentication.model.Configuration
-
- All Implemented Interfaces:
IConfiguration
- Direct Known Subclasses:
AzureConfiguration,MarketoConfiguration,MicrosoftOfficeConfiguration,WSConfiguration,XDMConfiguration
@Model(adaptables=org.apache.sling.api.resource.Resource.class, defaultInjectionStrategy=OPTIONAL) public class Configuration extends java.lang.Object implements IConfiguration
Implementation ofIConfiguration
-
-
Constructor Summary
Constructors Constructor Description Configuration(Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthenticationConfiggetAuthentication()Gets the authentication of this configuration.java.lang.StringgetAuthenticationType()Gets the authentication type of this configuration.java.lang.StringgetDataSourceType()Gets the connector type of this configuration.java.lang.StringgetId()Gets the id of the fdm configuration.java.lang.StringgetName()Gets the name of this configuration.java.lang.StringgetPath()Gets the path of this configuration.java.lang.StringgetServiceEndPoint()java.lang.StringgetThumbnailPath()Gets the thumbnail url of this configuration.java.lang.StringgetTitle()Gets the title of this configuration.java.lang.StringgetUrl()Gets the base url of this configuration.voidremoveResource()voidsetAuthentication(IAuthenticationConfig authentication)voidsetAuthenticationType(java.lang.String authenticationType)voidsetDataSourceType(java.lang.String dataSourceType)voidsetId(java.lang.String id)voidsetName(java.lang.String name)voidsetServiceEndPoint(java.lang.String serviceEndPoint)voidsetThumbnailPath(java.lang.String thumbnailPath)voidsetTitle(java.lang.String title)
-
-
-
Constructor Detail
-
Configuration
public Configuration(Resource resource)
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:IConfigurationGets the id of the fdm configuration.- Specified by:
getIdin interfaceIConfiguration- Returns:
- the id of the fdm configuration.
-
setId
public void setId(java.lang.String id)
-
getName
public java.lang.String getName()
Description copied from interface:IConfigurationGets the name of this configuration.- Specified by:
getNamein interfaceIConfiguration- Returns:
- the name of this configuration.
-
setName
public void setName(java.lang.String name)
-
setTitle
public void setTitle(java.lang.String title)
-
getTitle
public java.lang.String getTitle()
Description copied from interface:IConfigurationGets the title of this configuration.- Specified by:
getTitlein interfaceIConfiguration- Returns:
- the title of this configuration.
-
getPath
public java.lang.String getPath()
Description copied from interface:IConfigurationGets the path of this configuration.- Specified by:
getPathin interfaceIConfiguration- Returns:
- the path of this configuration.
-
getUrl
public java.lang.String getUrl()
Description copied from interface:IConfigurationGets the base url of this configuration.- Specified by:
getUrlin interfaceIConfiguration- Returns:
- the baseUrl of this configuration.
-
getDataSourceType
public java.lang.String getDataSourceType()
Description copied from interface:IConfigurationGets the connector type of this configuration.- Specified by:
getDataSourceTypein interfaceIConfiguration- Returns:
- the connector type of this configuration.
-
setDataSourceType
public void setDataSourceType(java.lang.String dataSourceType)
-
getAuthenticationType
public java.lang.String getAuthenticationType()
Description copied from interface:IConfigurationGets the authentication type of this configuration.- Specified by:
getAuthenticationTypein interfaceIConfiguration- Returns:
- the authenticationType of this configuration.
-
getAuthentication
public IAuthenticationConfig getAuthentication()
Description copied from interface:IConfigurationGets the authentication of this configuration.- Specified by:
getAuthenticationin interfaceIConfiguration- Returns:
- the authentication of this configuration.
-
setAuthenticationType
public void setAuthenticationType(java.lang.String authenticationType)
-
setAuthentication
public void setAuthentication(IAuthenticationConfig authentication)
-
getThumbnailPath
public java.lang.String getThumbnailPath()
Description copied from interface:IConfigurationGets the thumbnail url of this configuration.- Specified by:
getThumbnailPathin interfaceIConfiguration- Returns:
- the thumbnail url of this configuration.
-
setThumbnailPath
public void setThumbnailPath(java.lang.String thumbnailPath)
-
removeResource
@PostConstruct public void removeResource()
-
getServiceEndPoint
public java.lang.String getServiceEndPoint()
-
setServiceEndPoint
public void setServiceEndPoint(java.lang.String serviceEndPoint)
-
-