Click or drag to resize
AbstractFileSystemJob Class
Abstract class incorporating usual properties and basic methods for inter-job usage.
Inheritance Hierarchy

Namespace: CMS.ContinuousIntegration.Internal
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 12.0.0
Syntax
C#
public abstract class AbstractFileSystemJob

The AbstractFileSystemJob type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractFileSystemJob
Constructor required for creation of a new instance of derived class.
Top
Properties
  NameDescription
Protected propertyContentStagingTaskCollection
Object for collecting content staging tasks during CI restore.
Protected propertyRepositoryConfiguration
Gets the current instance of repository configuration
Protected propertyRepositoryPathHelper
Object for working with file paths in file system repository.
Protected propertyTranslationHelper
Provides object translation. Used in serialization to optimize database calls.
Protected propertyUseFileMetadata
Indicates whether objects' file meta-data are used or not (see FileMetadataInfo).
Top
Methods
  NameDescription
Protected methodCancellableForEachT(CancellationToken, IEnumerableT, ActionT)
Enumerates through collection checking cancellationToken before each iteration and performing action on each item in the collection.
Protected methodCancellableForEachT(CancellationToken, IEnumerableT, ActionT, Int32)
Enumerates through collection checking cancellationToken before each iteration and performing action on each item in the collection.
Protected methodCheckContinuousIntegrationLicense
Check license requirement for Continuous Integration and throws LicenseException if they are not met.
Protected methodGetNewJobWithSharedResourcesTJob
Gets new job of TJob using factoryJobGetter and initializes it with all properties used in InitializeWith``1(UMP, FileSystemJobConfiguration) of the job calling this method.
Protected methodInitializeCancellationToken
If provided cancellationToken is not null, the token is used; otherwise, new CancellationToken is created so as the derived class does not need to -checked each token's use.
Protected methodRegisterTranslationRecord
Registers a new translation record into TranslationHelper.
Top
Remarks
This class is not intended for inheritance. Non-abstract jobs are supposed to be used for behavioral amendments.
See Also