public class JobScript extends Object
Constructor and Description |
---|
JobScript() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getArguments()
Returns the batch arguments map for the target job.
|
String |
getBatchId()
Returns the batch ID for target job.
|
Map<String,String> |
getEnvironmentVariables()
Returns the environment variables for the target job.
|
String |
getExecutionId()
Returns the execution ID for target job.
|
String |
getFlowId()
Returns the flow ID for target job.
|
String |
getMainClassName()
Returns the main class name for the target job.
|
ExecutionPhase |
getPhase()
Returns the phase kind for target job.
|
Map<String,String> |
getProperties()
Returns the Hadoop properties map for the target job.
|
String |
getStageId()
Returns the stage ID for target job.
|
void |
setArguments(Map<String,String> arguments)
Sets the batch arguments map for the target job.
|
void |
setBatchId(String id)
Sets the batch ID of target job.
|
void |
setEnvironmentVariables(Map<String,String> map)
Sets the environment variables map of target job.
|
void |
setExecutionId(String id)
Sets the execution ID of target job.
|
void |
setFlowId(String id)
Sets the flow ID of target job.
|
void |
setMainClassName(String name)
Sets the main class name of target job.
|
void |
setPhase(ExecutionPhase phase)
Sets the phase kind of target job.
|
void |
setProperties(Map<String,String> map)
Sets the Hadoop properties map of target job.
|
void |
setStageId(String id)
Sets the stage ID of target job.
|
String |
toString() |
public String getBatchId()
public void setBatchId(String id)
id
- the IDpublic String getFlowId()
public void setFlowId(String id)
id
- the IDpublic String getExecutionId()
public void setExecutionId(String id)
id
- the IDpublic ExecutionPhase getPhase()
public void setPhase(ExecutionPhase phase)
phase
- the phase kindpublic String getStageId()
public void setStageId(String id)
id
- the IDpublic String getMainClassName()
public void setMainClassName(String name)
name
- the fqn of the target classpublic Map<String,String> getArguments()
public void setArguments(Map<String,String> arguments)
arguments
- the arguments mappublic Map<String,String> getProperties()
public void setProperties(Map<String,String> map)
map
- the mappublic Map<String,String> getEnvironmentVariables()
public void setEnvironmentVariables(Map<String,String> map)
map
- the mapCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.