NativeJob MembersQuartz.NET API Documentation

The NativeJob type exposes the following members.

Constructors

  NameDescription
Public methodNativeJob
Initializes a new instance of the NativeJob class.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Called by the IScheduler when a Trigger fires that is associated with the IJob.

The implementation may wish to set a result object on the JobExecutionContext before this method exits. The result itself is meaningless to Quartz, but may be informative to IJobListeners or ITriggerListeners that are watching the job's execution.

Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberPropertyCommand
Required parameter that specifies the name of the command (executable) to be ran.
Public fieldStatic memberPropertyConsumeStreams
Optional parameter (value should be 'true' or 'false') that specifies whether the spawned process's stdout and stderr streams should be consumed. If the process creates output, it is possible that it might 'hang' if the streams are not consumed.

Defaults to  .

Public fieldStatic memberPropertyParameters
Optional parameter that specifies the parameters to be passed to the executed command.
Public fieldStatic memberPropertyWaitForProcess
Optional parameter (value should be 'true' or 'false') that specifies whether the job should wait for the execution of the native process to complete before it completes.

Defaults to  .

Public fieldStatic memberPropertyWorkingDirectory
Optional parameter that specifies the workling directory to be used by the executed command.
Top
Properties

  NameDescription
Protected propertyLog
Gets the log.
Top
See Also