Adds given task schema to taskConfigurationSchema as oneOf subschema.
Replaces existed subschema by given schema if the corresponding $id properties are equal.
Note: please provide $id property for subschema to have ability remove/replace it.
Parameters
schema: IJSONSchema
subschema for adding to taskConfigurationSchema
Returns void
ProtecteddoRemoveSubschema
doRemoveSubschema(arg): boolean
Removes task subschema from customSchemas, use update() to apply the changes for taskConfigurationSchema.
Parameters
arg: string
$id property of subschema
Returns boolean
true if subschema was removed, false otherwise
ProtecteddoUpdate
doUpdate(): void
Returns void
getRegisteredTaskTypes
getRegisteredTaskTypes(): Promise<string[]>
Returns an array of task types that are registered, including the default types
Adds given task schema to
taskConfigurationSchema
asoneOf
subschema. Replaces existed subschema by given schema if the corresponding$id
properties are equal.Note: please provide
$id
property for subschema to have ability remove/replace it.