PFJobInfo Class |
Namespace: Packflow.Core.Jobs
[SerializableAttribute] [DataContractAttribute] public class PFJobInfo : PFJobTypeInfo
The PFJobInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| Choices |
A list a choices for all the applicable job settings.
Use Linq on the PFJobSetting.ParameterName property to find specific choices.
| |
| ExistsInDatabase |
Returns true if the object described is a PFTimerJob persisted in database.
| |
| InstanceDescription |
The 'InstanceDescription' property for the PFTimerJob, if applicable.
| |
| InstanceGuid |
The 'Guid' property of the PFTimerJob object, if applicable.
| |
| InstanceId |
The 'Id' property of the PFTimerJob object, if applicable
| |
| InstanceName |
The 'InstanceName' property for the PFTimerJob, if applicable.
| |
| JobDescription |
Gets the friendly description of the job
(Inherited from PFJobTypeInfo.) | |
| JobTypeFound |
Return true if the .Net type for the Job can be loaded.
| |
| LockPolicyDescription |
Gets the friendly description of the lock policy for this type
(Inherited from PFJobTypeInfo.) | |
| Origin |
Gets the origin of the type. May be 'Packflow' for engine jobs, or an application name for PFJobs deployed
through applications.
(Inherited from PFJobTypeInfo.) | |
| Settings |
The collection of settings for the described PFJob.
| |
| SiteId |
Gets the PFSite Id
(Inherited from PFJobTypeInfo.) | |
| Triggers |
The collection of Job triggers for the described PFJob.
| |
| TypeFullName |
Gets the full name of the type.
(Inherited from PFJobTypeInfo.) | |
| TypeName |
Gets the name of the job type.
(Inherited from PFJobTypeInfo.) | |
| ValidationMessage |
Will hold messages from eventual exceptions occuring on PFJob.Validate() call.
|
| Name | Description | |
|---|---|---|
| ApplyChanges |
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.
| |
| ApplyChangesAndSave |
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.
| |
| Equals |
Compares this object to another object.
(Overrides ObjectEquals(Object).) | |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) | |
| GetInstance |
Creates a PFJob Instance from this JobInfo.
| |
| GetJobInfo(PFJob) |
Creates a PFJobInfo object from a PFJob instance
| |
| GetJobInfo(PFTimerJob) |
Creates a PFJobInfo object from a persisted PFJob (PFTimerJob)
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
| EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
| EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
| GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
| IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
| IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
| Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |