Qorus Integration Engine®
4.0.3.p2_git
|
Variables | |
public const | OMQ::NameTagParams = ("maxlen": SQLNameLen) |
common definition of the name tag | |
public const | OMQ::NameTag = ("name": NameTagParams) |
name tag definition | |
public const | OMQ::NameTagReq = ("name": NameTagParams + ("mandatory": True)) |
name tag definition for objects where the tag is required | |
public const | OMQ::VersionTag = ("version": ("mandatory": True, "attrib": True, "maxlen": SQLVersionLen)) |
version tag definition | |
public const | OMQ::DescTag = ("desc": ("maxlen": SQLDescLen, "multi": " ", "warn": True)) |
desc tag definition | |
public const | OMQ::AuthorTag = ("author": ("maxlen": SQLAuthorLen, "multi": ", ", "attrib": True)) |
author tag definition | |
public const | OMQ::PatchTag = ("patch": ("maxlen": SQLPatchLen, "attrib": True)) |
patch tag definition | |
public const | OMQ::FuncTypeTag = ("type": ("mandatory": True, "attrib": True)) |
function type tag definition | |
public const | OMQ::LangTag = {"lang": {"maxlen": 80, "values": ("qore", "java"), "default": "qore"}} |
lang tag definition | |
public const | OMQ::RequiresTag = {"requires": {"list": True}} |
requires tag definition | |
public const | OMQ::ClassNameTag = {"class-name": {"maxlen": SQLNameLen}} |
class-name tag definition | |
const | OMQ::CommonBaseTags = VersionTag + DescTag + AuthorTag |
common to many files | |
const | OMQ::CommonGenericTags = CommonBaseTags + PatchTag |
common to functions, classes, and constants | |
const | OMQ::FunctionTags = NameTag + CommonGenericTags + FuncTypeTag |
tags for function files | |
const | OMQ::ClassTags = NameTag + LangTag + RequiresTag + CommonGenericTags |
tags for class files | |
const | OMQ::ConstantTags = NameTagReq + CommonGenericTags |
tags for constant files | |
const | OMQ::LibTags |
tags for library objects | |
const | OMQ::GroupTags |
tags for groups | |
const | OMQ::ComplexTags = CommonBaseTags + LibTags + GroupTags |
tags for complex files | |
public const | OMQ::ClassBasedTag = {"class-based": {"type": Type::Boolean, "default": False}} |
class-based tag | |
const | OMQ::JobTags |
tags for job files | |
const | OMQ::ServiceTags |
tags for service files | |
const | OMQ::MapperTags |
tags for mapper files | |
const | OMQ::ValueMapTags |
tags for value maps | |
These constants define information about tags that define attributes of function, job, service, class, and constant files when parsing.
tag format: a hash where the keys are the option names, and the values are hashes describing how the options should be parsed; option hashes can have the following keys:
mandatory:
boolean - if an error should be raised if the tag is not presentmulti:
string - allow the tag to be defined more than once; subsequent instances of the tag will be concatenated to the option value with the value of the "multi"
optionwarn:
boolean - print a warning if the tag is not definedmaxlen:
check the maximum length of the string in bytes, warn if it's over this length, and truncate the string to this byte lengthlist:
boolean - if True then this option will take multiple values and will be returned as a listtype:
string - the data type of the tag, so far "bool"
, "int"
, and "date"
have been implemented