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 null
public 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 null
public void storeTo(Properties properties)
properties
- target properties objectIllegalArgumentException
- if target properties already contains keys about this script,
or if any parameter is null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.