JobManifest Class

Provides capabilities to manipulate job-instance metadata.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.Web.Media.TransformManager..::..JobManifest

Namespace:  Microsoft.Web.Media.TransformManager
Assembly:  Microsoft.Web.Media.TransformManager.Common (in Microsoft.Web.Media.TransformManager.Common.dll)

Syntax

'Declaration

  Public Class JobManifest _
    Implements IJobManifest
'Usage

  Dim instance As JobManifest
  public class JobManifest : IJobManifest
  public ref class JobManifest : IJobManifest
  type JobManifest =  
    class
        interface IJobManifest
    end
  public class JobManifest implements IJobManifest

The JobManifest type exposes the following members.

Constructors

  Name Description
Public method JobManifest Initializes a new instance of the JobManifest class.

Top

Properties

  Name Description
Public property Arguments Gets executable program task arguments that are associated with the data in the manifest.
Public property FileName Gets or sets the file name of the manifest.
Public property Folder Gets or sets the folder name of the manifest.
Public property FullFileName Gets the folder name and file name of the manifest.
Public property InputFileNames Gets a collection of input file names for a job.
Public property InstanceFileIsManifest Gets a value that indicates whether the file that initiates job creation is a SMIL 2.0-compliant manifest.
Public property InstanceFileName Gets or sets the file name of the manifest instance.
Public property InstanceId Gets or sets the ID of the manifest instance.
Public property JobDefinitionId Gets the ID of the job definition.
Public property JobDefinitionName Gets the name of the job definition from the job manifest.
Public property JobDetails Gets a JobDetails object that is based on details from the job manifest.
Public property LogFolder
Public property ManifestAsString Gets the manifest XML content.
Public property Name Gets or sets the name of the job manifest.
Public property Priority Gets the priority of a job.
Public property ProcessPriority
Public property Programs Gets a collection of tasks that are executable program files.
Public property RawManifest Gets the manifest XML content.
Public property Status Gets or sets the status value from the manifest.
Public property TaskIndex Gets or sets the task index value from the task index element.
Public property Template Gets an XML element that contains a set of sequential tasks that define a job.
Public property WorkFolder
Public property WorkQueueRoot Gets the root work folder name.

Top

Methods

  Name Description
Public methodStatic member CreateManifest Creates a JobManifest object by using the job definition, the root work folder name, scheduling information about a job, tasks that define a job, shared properties, the name of the file that is used to create the manifest, and the ID of the manifest instance.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindJobElement Returns the XML job element from the manifest.
Public method GetHashCode (Inherited from Object.)
Public methodStatic member GetInputFileNames Returns a collection of input file names.
Public methodStatic member GetManifestElement Returns an XML representation of the manifest metadata.
Public method GetMetadataForTask Returns the metadata for the specified task.
Public method GetScheduler Creates and returns a new Scheduler object.
Public method GetSchedulerInfo Returns scheduling information about a job.
Public method GetType (Inherited from Object.)
Public method Initialize Initializes member variables for a manifest that is loaded from disk instead of created as part of job submission.
Public methodStatic member LoadManifest Loads the manifest file.
Protected method MemberwiseClone (Inherited from Object.)
Public method Save Saves a job manifest file.
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member ManifestExtension Represents a constant that is used as the job manifest file extension (".smil").

Top

Remarks

The job manifest holds the information about a job instance. The job manifest is a .smil file that conforms to the Synchronized Multimedia Integration Language (SMIL). It contains a body section that lists all of the files that triggered the job. The job manifest also contains Resource Description Framework (RDF) metadata in a head section that describes the job definition, job scheduler, and job template. This metadata is combined with the input files to create the manifest for a job. The manifest constitutes the instructions that a scheduler requires in order to create, run, and report on the job.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Web.Media.TransformManager Namespace