public class GateScript extends Object
| Constructor and Description |
|---|
GateScript(String name,
List<? extends ProcessScript<?>> processes)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return the name of this script (for hint).
|
List<ProcessScript<?>> |
getProcesses()
Returns the member processes.
|
static GateScript |
loadFrom(String name,
Properties properties,
ClassLoader loader)
Loads a gate script from the properties.
|
void |
storeTo(Properties properties)
Stores this script into the specified properties.
|
public GateScript(String name, List<? extends ProcessScript<?>> processes)
name - the name of this script (for hint)processes - the member processesIllegalArgumentException - if any parameter is nullpublic String getName()
public List<ProcessScript<?>> getProcesses()
public static GateScript loadFrom(String name, Properties properties, ClassLoader loader)
name - the name of script (for hint)properties - source propertiesloader - class loader to load the data model classesIllegalArgumentException - if properties are invalid, or if any parameter is nullpublic void storeTo(Properties properties)
properties - target properties objectIllegalArgumentException - if target properties already contains keys about this script,
or if any parameter is nullCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.