Class MediaWorkflowTaskDeclaration.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public MediaWorkflowTaskDeclaration.Builder name​(String name)
        MediaWorkflowTaskDeclaration identifier.

        The name and version should be unique among MediaWorkflowTaskDeclarations.

        Parameters:
        name - the value to set
        Returns:
        this builder
      • version

        public MediaWorkflowTaskDeclaration.Builder version​(Integer version)
        The version of MediaWorkflowTaskDeclaration, incremented whenever the team implementing the task processor modifies the JSON schema of this declaration’s definitions, parameters or list of required parameters.
        Parameters:
        version - the value to set
        Returns:
        this builder
      • parametersSchema

        public MediaWorkflowTaskDeclaration.Builder parametersSchema​(Map<String,​Object> parametersSchema)
        JSON schema specifying the parameters supported by this type of task.

        This is used to validate tasks’ parameters when jobs are created.

        Parameters:
        parametersSchema - the value to set
        Returns:
        this builder
      • parametersSchemaAllowingReferences

        public MediaWorkflowTaskDeclaration.Builder parametersSchemaAllowingReferences​(Map<String,​Object> parametersSchemaAllowingReferences)
        JSON schema similar to the parameterSchema, but permits parameter values to refer to other parameters using the ${/path/to/another/parmeter} syntax.

        This is used to validate task parameters when workflows are created.

        Parameters:
        parametersSchemaAllowingReferences - the value to set
        Returns:
        this builder