new ArchFactoryDataTypes()
A factory instance that lets you add Architect data types to flows. Do not attempt to create an instance of this class. Architect Scripting will create the factory instance as needed.
Extends
Members
-
readonly logStr :string
-
Returns a string suitable for logging.
- Inherited From:
-
readonly logStrTypeOnly :string
-
This is a string suitable for logging information about this object where it's just the object's type. This is normally used when logging errors that occur in constructor parameter checking because the scripting object isn't set up and the normal logging str contents wouldn't be set up.
- Inherited From:
Methods
-
createCustomJsonTypeSchema(name, description) → {ArchDataTypeJsonCustomSchema}
-
A method to create an empty custom JSON type schema with a name and description.
ArchBaseFlow#addUpdateCustomJsonTypeFromSchema.Parameters:
Name Type Description namestring the name of the new custom JSON type.
descriptionstring a string that describes the custom JSON type that would be suitable for a flow author to understand its intended usage within a flow.
Returns:
ArchDataTypeJsonCustomSchema -
createCustomJsonTypeSchemaFromJsonSchema(jsonSchema) → {ArchDataTypeJsonCustomSchema}
-
This method will take a JSON schema and attempt to parse it to create an Architect custom JSON schema from it.
Parameters:
Name Type Description jsonSchemaany a JSON schema passed as a JSON value.
Returns:
ArchDataTypeJsonCustomSchema -
isFilterMatch(archFilterObject) → {boolean}
-
Returns whether or not this Architect Scripting object is a match for the supplied ArchFilterObject instance.
Parameters:
Name Type Description archFilterObjectArchFilterObject the object filter to use to determine if it's a match.
Returns:
boolean- Inherited From:
-
logError(errorStr)
-
Logs an error to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logErrorsis true.Parameters:
Name Type Description errorStrstring the error string to log.
- Inherited From:
-
logErrorAndThrow(errorStr)
-
Logs an error to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logErrorsis true and then throws the string in the errorStr parameter.Parameters:
Name Type Description errorStrstring the error string to log. This should be a non-blank string.
Throws:
- Throws the submitted error string.
- Inherited From:
-
logNote(noteStr)
-
Logs a note to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logNotesis true.Parameters:
Name Type Description noteStrstring the note string to log. This should be a non-blank string.
- Inherited From:
-
logNoteVerbose(noteStr)
-
Logs a note to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logNotesVerboseis true.Parameters:
Name Type Description noteStrstring the note string to log. This should be a non-blank string.
- Inherited From:
-
logWarning(warningStr)
-
Logs a warning to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logWarningsis true.Parameters:
Name Type Description warningStrstring the warning string to log. This should be a non-blank string.
- Inherited From: