T
- the type to be processedpublic class ProcessScript<T> extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY_DATA_CLASS
Key name of data class.
|
static String |
KEY_PROCESS_TYPE
Key name of process type.
|
Constructor and Description |
---|
ProcessScript(String name,
String processType,
Class<T> dataClass,
DriverScript sourceScript,
DriverScript drainScript)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Class<T> |
getDataClass()
Returns the data model class to be transferred.
|
DriverScript |
getDrainScript()
Returns the script which describes a drain driver.
|
DriverScript |
getDriverScript(DriverScript.Kind kind)
Returns the script which describes a specified driver.
|
String |
getName()
Returns the name of this process.
|
String |
getProcessType()
Returns the kind of this process.
|
DriverScript |
getSourceScript()
Returns the script which describes a source driver.
|
public static final String KEY_DATA_CLASS
getDataClass()
,
Constant Field Valuespublic static final String KEY_PROCESS_TYPE
getProcessType()
,
Constant Field Valuespublic ProcessScript(String name, String processType, Class<T> dataClass, DriverScript sourceScript, DriverScript drainScript)
name
- the name of this processprocessType
- the kind of this processdataClass
- the data model class to be transferredsourceScript
- the script which describes a source driverdrainScript
- the script which describes a drain driverIllegalArgumentException
- if any parameter is null
public String getName()
public String getProcessType()
process name
defined in profile.public Class<T> getDataClass()
public DriverScript getSourceScript()
public DriverScript getDrainScript()
public DriverScript getDriverScript(DriverScript.Kind kind)
kind
- the driver kindIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.