public class TaskParameters
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TaskParameters.ConnectorParameter
Enumerate the known parameters that can be set for a data source
|
static class |
TaskParameters.SourceType
Enumerate the known types of data source
|
Constructor and Description |
---|
TaskParameters()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addConnectorParameter(java.lang.String parameterId,
java.lang.String parameterValue)
Add a connector parameter.
|
void |
addConnectorParameter(java.lang.String sourceIdOrType,
java.lang.String parameterId,
java.lang.String parameterValue)
Add a connector parameter, specific to a either single data source or
all sources having the specified type.
|
void |
addConnectorParameter(java.lang.String sourceIdOrType,
TaskParameters.ConnectorParameter connectorParameter,
java.lang.String parameterValue)
Add a connector parameter, specific to a either single data source or
all sources having the specified type.
|
void |
addConnectorParameter(TaskParameters.ConnectorParameter connectorParameter,
java.lang.String parameterValue)
Add a connector parameter.
|
void |
addConnectorParameter(TaskParameters.SourceType sourceType,
java.lang.String parameterId,
java.lang.String parameterValue)
Add a connector parameter, specific to all sources having the specified type.
|
void |
addConnectorParameter(TaskParameters.SourceType sourceType,
TaskParameters.ConnectorParameter connectorParameter,
java.lang.String parameterValue)
Add a connector parameter, specific to all sources having the specified type.
|
void |
addMappingParameter(java.lang.String entityType,
java.lang.String entityName)
Add a mapping parameter.
|
void |
addMappingParameter(java.lang.String importId,
java.lang.String entityType,
java.lang.String entityName)
Add a mapping parameter.
|
void |
setLocale(java.lang.String language,
java.lang.String country)
Set the locale to be used.
|
public TaskParameters()
public void setLocale(java.lang.String language, java.lang.String country)
language
- the ISO-639 language codecountry
- the ISO-3166 country codepublic void addConnectorParameter(java.lang.String parameterId, java.lang.String parameterValue)
parameterId
- a string identifying the parameter to be set.parameterValue
- the parameter value.public void addConnectorParameter(TaskParameters.ConnectorParameter connectorParameter, java.lang.String parameterValue)
connectorParameter
- a ConnectorParameter identifying the parameter to be set.parameterValue
- the parameter value.public void addConnectorParameter(TaskParameters.SourceType sourceType, java.lang.String parameterId, java.lang.String parameterValue)
sourceType
- the type of the data sources to which this applies.parameterId
- a string identifying the parameter to be set.parameterValue
- the parameter value.public void addConnectorParameter(TaskParameters.SourceType sourceType, TaskParameters.ConnectorParameter connectorParameter, java.lang.String parameterValue)
sourceType
- the type of the data sources to which this applies.connectorParameter
- a ConnectorParameter identifying the parameter to be set.parameterValue
- the parameter value.public void addConnectorParameter(java.lang.String sourceIdOrType, TaskParameters.ConnectorParameter connectorParameter, java.lang.String parameterValue)
sourceIdOrType
- the name or ID of the data source to which this applies; or a type of data source. The SourceType enumeration contains a list of identifiers that is complete at the time of release of Anaplan Connect; others may be added at the server side, however.connectorParameter
- a ConnectorParameter identifying the parameter to be set.parameterValue
- the parameter value.public void addConnectorParameter(java.lang.String sourceIdOrType, java.lang.String parameterId, java.lang.String parameterValue)
sourceIdOrType
- the name or ID of the data source to which this applies; or a type of data source. The SourceType enumeration contains a list of identifiers that is complete at the time of release of Anaplan Connect; others may be added at the server side, however.parameterId
- a string identifying the parameter to be set.parameterValue
- the parameter value.public void addMappingParameter(java.lang.String entityType, java.lang.String entityName)
entityType
- the name of the dimension, mapped to prompt, to which this parameter pertainsentityName
- the value to be suppliedpublic void addMappingParameter(java.lang.String importId, java.lang.String entityType, java.lang.String entityName)
importId
- the ID or name of the import to which this applies.entityType
- the name of the dimension, mapped to prompt, to which this parameter pertainsentityName
- the value to be supplied