Click or drag to resize

PFJobInfo Class

This class holds serializable information about a PFJob instance
Inheritance Hierarchy

Namespace:  Packflow.Core.Jobs
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
[SerializableAttribute]
[DataContractAttribute]
public class PFJobInfo : PFJobTypeInfo

The PFJobInfo type exposes the following members.

Constructors
  NameDescription
Public methodPFJobInfo
Do not use(for deserialization). Use GetJobInfo static method instead.
Top
Properties
  NameDescription
Public propertyChoices
A list a choices for all the applicable job settings. Use Linq on the PFJobSetting.ParameterName property to find specific choices.
Public propertyExistsInDatabase
Returns true if the object described is a PFTimerJob persisted in database.
Public propertyInstanceDescription
The 'InstanceDescription' property for the PFTimerJob, if applicable.
Public propertyInstanceGuid
The 'Guid' property of the PFTimerJob object, if applicable.
Public propertyInstanceId
The 'Id' property of the PFTimerJob object, if applicable
Public propertyInstanceName
The 'InstanceName' property for the PFTimerJob, if applicable.
Public propertyJobDescription
Gets the friendly description of the job
(Inherited from PFJobTypeInfo.)
Public propertyJobTypeFound
Return true if the .Net type for the Job can be loaded.
Public propertyLockPolicyDescription
Gets the friendly description of the lock policy for this type
(Inherited from PFJobTypeInfo.)
Public propertyOrigin
Gets the origin of the type. May be 'Packflow' for engine jobs, or an application name for PFJobs deployed through applications.
(Inherited from PFJobTypeInfo.)
Public propertySettings
The collection of settings for the described PFJob.
Public propertySiteId
Gets the PFSite Id
(Inherited from PFJobTypeInfo.)
Public propertyTriggers
The collection of Job triggers for the described PFJob.
Public propertyTypeFullName
Gets the full name of the type.
(Inherited from PFJobTypeInfo.)
Public propertyTypeName
Gets the name of the job type.
(Inherited from PFJobTypeInfo.)
Public propertyValidationMessage
Will hold messages from eventual exceptions occuring on PFJob.Validate() call.
Top
Methods
  NameDescription
Public methodApplyChanges
Applies changes made to serialized settings to a new PFJob instance, and calls PFJob.Validate() on it.; Validation Message property will be updated with eventual validation exception messages.
Public methodApplyChangesAndSave
Applies changes made to serialized settings to a persisted job (PFTimerJob), saves it and calls PFJob.Validate() on it. Updates source PFTimerJob if found in site's TimerJobs, or creates and saves a new one if not found.
Public methodEquals
Compares this object to another object.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetInstance
Creates a PFJob Instance from this JobInfo.
Public methodStatic memberGetJobInfo(PFJob)
Creates a PFJobInfo object from a PFJob instance
Public methodStatic memberGetJobInfo(PFTimerJob)
Creates a PFJobInfo object from a persisted PFJob (PFTimerJob)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also