This file is part of the CRISTAL-iSE kernel. Copyright (c) 2001-2015 The CRISTAL Consortium. All rights reserved. This library is free software you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation either version 3 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY with out even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. http://www.fsf.org/licensing/licenses/lgpl.html
| Type | Name and description |
|---|---|
static String |
MODULE_EXPORT_ROOT |
static String |
MODULE_RESOURCE_ROOT |
static String |
PROPERTY_ROOT |
Binding |
bindings |
Writer |
imports |
Module |
module |
File |
moduleXMLFile |
Module |
newModule |
| Constructor and description |
|---|
ModuleDelegate
(String ns, String n, int v, Binding b = null) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
ActivityDef |
Activity(String name, Integer version) |
|
ActivityDef |
Activity(String name, Integer version, Closure cl) |
|
void |
Agent(Map args, Closure cl)Collects agent and add to module.xml, or update the definition it is already existing. |
|
void |
Config(Map attr)Collects define config and add/update on module.xml. |
|
void |
Info(Map attr, Closure<String> cl)Collects define info and add/update on module.xml. |
|
ImportItem |
Item(Map args, Closure cl)Collects items define in the groovy scripts and add to module.xml or update the definition it is already existing. |
|
void |
PropertyDescriptionList(Closure cl)Generates xml files for the define property description values. |
|
Query |
Query(String name, Integer version) |
|
Query |
Query(String name, Integer version, Closure cl) |
|
void |
Roles(Closure cl)Collects define roles and add/update on module.xml. |
|
Schema |
Schema(String name, Integer version) |
|
Schema |
Schema(String name, Integer version, Closure cl) |
|
Script |
Script(String name, Integer version) |
|
Script |
Script(String name, Integer version, Closure cl) |
|
StateMachine |
StateMachine(String name, Integer version) |
|
StateMachine |
StateMachine(String name, Integer version, Closure cl) |
|
def |
Url(String url)Sets the module's resourceUrl value. |
|
CompositeActivityDef |
Workflow(String name, Integer version) |
|
CompositeActivityDef |
Workflow(String name, Integer version, Closure cl)Enable export if workflow needs to be generated. |
|
def |
include(String scriptFile) |
|
void |
processClosure(Closure cl) |
Collects agent and add to module.xml, or update the definition it is already existing.
Collects define config and add/update on module.xml.
Collects define info and add/update on module.xml.
Collects items define in the groovy scripts and add to module.xml or update the definition it is already existing.
Generates xml files for the define property description values.
Collects define roles and add/update on module.xml.
Enable export if workflow needs to be generated. e.g. caDef.export(imports, new File(exportRoot), true)
org.cristalise:cristalise-dsl:3.7.0