public final class ProcessUtil extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
newDataModel(String resourceName,
ProcessScript<T> script)
Creates a new data model object for the specified process.
|
public static <T> T newDataModel(String resourceName, ProcessScript<T> script) throws IOException
T
- type of data model objectresourceName
- target resource namescript
- target scriptIOException
- if failed to create a new instanceIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.