public interface IDatasource
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_DATABASE
TYPE_DATABASE: A database connection type as described in the datasource config file.
|
static java.lang.String |
TYPE_EDC
TYPE_EDC: This is the EDC data connection for this decision service.
|
static java.lang.String |
TYPE_QUERY
TYPE_QUERY: A query datasource type as described in the datasource config file.
|
static java.lang.String |
TYPE_REST
TYPE_REST: A rest datasource type as described in the datasource config file.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDatasourceAuthenticationDomain()
Provides the Domain portion of the NTLM authentication information that this datasource was configured for.
|
java.lang.String |
getDatasourceAuthenticationType()
If this has a specified authentication type, This is currently only used by Rest Datasources.
|
java.lang.String |
getDatasourceCatalogFilter()
If this is an EDC connection, there may be a Catalog filter provided in the configuration.
|
java.lang.String |
getDatasourceClientID()
Provides the Client ID portion of the OAuth2 authentication information that this datasource was configured for.
|
java.lang.String |
getDatasourceClientSecret()
Provides the Client Secret portion of the OAuth2 authentication information that this datasource was configured for.
|
java.lang.String |
getDatasourceConnectionURL()
Returns either the URL or the connection string for the datasource connection.
|
java.lang.String |
getDatasourceDescription()
Returns a human readable description of this datasource.
|
java.lang.String |
getDatasourceDriverId()
If this is a database or EDC connection, there will be a corticon database driver for the associated database,
calling this method will return the ID of the database driver.
|
java.lang.String |
getDatasourceFieldName()
Provides the token portion of the authentication information that this datasource was configured for.
|
java.lang.String |
getDatasourceName()
Returns the name of this datasource, this is generally used to look up the datasource and associated configuration.
|
java.lang.String |
getDatasourcePassword()
Returns the password portion of the login information (if any) that this datasource was configured for.
|
java.util.Properties |
getDatasourceProperties()
Gets the property object representing all the datasource's properties, this includes
the database driver ID and login information for applicable datasources.
|
java.lang.String |
getDatasourceSchemaFilter()
If this is an EDC connection, there may be a Schema filter provided in the configuration.
|
java.lang.String |
getDatasourceToken()
Provides the token portion of the authentication information that this datasource was configured for.
|
java.lang.String |
getDatasourceTokenURI()
Provides the Token URI portion of the OAuth2 authentication information that this datasource was configured for.
|
java.lang.String |
getDatasourceType()
Returns the type of datasource connection this is, different connections can be accessed differently.
|
java.lang.String |
getDatasourceUserName()
Returns the username portion of the login information (if any) that this datasource was configured for.
|
java.lang.String |
getDatsourceProperty(java.lang.String astrMappingPropertyName)
Gets the value for a particular configuration property, this is commonly used in database connections, where
particular databases drivers may need additional properties set specific to the driver.
|
boolean |
getUseKerberosAuthentication()
Determines if this datasource was configured for kerberos or username/password authentication.
|
static final java.lang.String TYPE_EDC
static final java.lang.String TYPE_DATABASE
static final java.lang.String TYPE_QUERY
static final java.lang.String TYPE_REST
java.lang.String getDatasourceType()
java.lang.String getDatasourceName()
java.lang.String getDatasourceDescription()
java.lang.String getDatasourceUserName()
java.lang.String getDatasourcePassword()
java.lang.String getDatasourceToken()
java.lang.String getDatasourceFieldName()
boolean getUseKerberosAuthentication()
java.lang.String getDatasourceAuthenticationType()
java.lang.String getDatasourceConnectionURL()
protocol://hostname:port/path{options}java.lang.String getDatasourceDriverId()
java.lang.String getDatasourceSchemaFilter()
java.lang.String getDatasourceCatalogFilter()
java.lang.String getDatsourceProperty(java.lang.String astrMappingPropertyName)
astrMappingPropertyName - The property you wish to retrieve the value of.java.util.Properties getDatasourceProperties()
java.lang.String getDatasourceClientID()
java.lang.String getDatasourceTokenURI()
java.lang.String getDatasourceClientSecret()
java.lang.String getDatasourceAuthenticationDomain()
Copyright © 2005-2021 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.