public class EtlRequest
extends Object
implements Serializable
Constructor and Description |
---|
EtlRequest()
Instantiates a new etl request.
|
EtlRequest(EtlConfig config,
List<Scenario> scenarios,
int logLevel)
Instantiates a new etl request.
|
EtlRequest(EtlConfig config,
Scenario scenario,
int logLevel)
Instantiates a new etl request.
|
Modifier and Type | Method and Description |
---|---|
void |
addScenario(Scenario scenario)
Adds scenario.
|
void |
clear()
Clear request.
|
EtlConfig |
getEtlConfig()
Gets the etl config.
|
String |
getFlowId()
Gets the flow id.
|
int |
getLogLevel()
Gets the log level.
|
String |
getRequestId()
Gets the request id.
|
List<Scenario> |
getScenarios()
Gets the scenarios.
|
boolean |
isEnabled()
Checks if request enabled.
|
boolean |
isEnableRequestIdLog()
Checks if request id log enabled.
|
void |
setEnabled(boolean enabled)
Sets the enabled flag for the request.
|
void |
setEnableRequestIdLog(boolean enableRequestIdLog)
Sets the enable request id log.
|
void |
setEtlConfig(EtlConfig value)
Sets the etl config.
|
void |
setFlowId(String flowId)
Sets the flow id.
|
void |
setLogLevel(int value)
Sets the log level.
|
void |
setRequestId(String requestId)
Sets the request id.
|
void |
setScenarios(List<Scenario> value)
Sets the scenarios.
|
public EtlRequest()
public EtlRequest(EtlConfig config, List<Scenario> scenarios, int logLevel)
config
- the etl configscenarios
- the scenarios to executelogLevel
- the log levelpublic void clear()
public void addScenario(Scenario scenario)
scenario
- the ETl scenario to addpublic EtlConfig getEtlConfig()
public int getLogLevel()
public List<Scenario> getScenarios()
public void setEtlConfig(EtlConfig value)
value
- the new etl configpublic void setLogLevel(int value)
value
- the new log levelpublic void setScenarios(List<Scenario> value)
value
- the new scenariospublic String getRequestId()
public void setRequestId(String requestId)
requestId
- the new request idpublic boolean isEnableRequestIdLog()
public void setEnableRequestIdLog(boolean enableRequestIdLog)
enableRequestIdLog
- the new value of the flag enable request id logpublic String getFlowId()
public void setFlowId(String flowId)
flowId
- the new flow idpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- the new value of the enabled flagCopyright © 2010-2020 Toolsverse. All Rights Reserved.