FileSystemUpsertObjectsByTypeJob Methods |
The FileSystemUpsertObjectsByTypeJob type exposes the following members.
Name | Description | |
---|---|---|
![]() | CancellableForEachT(CancellationToken, IEnumerableT, ActionT) |
Enumerates through collection checking cancellationToken
before each iteration and performing action on each item in the collection.
(Inherited from AbstractFileSystemJob.) |
![]() | CancellableForEachT(CancellationToken, IEnumerableT, ActionT, Int32) |
Enumerates through collection checking cancellationToken
before each iteration and performing action on each item in the collection.
(Inherited from AbstractFileSystemJob.) |
![]() | CancellablyProcessQueueT |
Process queue of objects using given function for processing every object in the queue. If the function returns null, object is considered as successfully processed.
If function returns object, then the returned object is enqueued. Queue is iterated again while at least one object was successfully processed.
(Inherited from AbstractFileSystemTypeWideJob.) |
![]() | DeserializeObjectFromFiles |
Deserializes object(s) from files' content based on structuredLocation.
Files' content is eventually composed from separated fields stored in separated files. If file's content belongs to a bindings object type, all binding objects within the file (i.e. objects with same parent) are returned. |
![]() | GetDeserializedMainObjects |
Returns deserialized object(s) in its final form that might be composed of multiple partial sub-objects.
All object part's file locations are provided in fileLocations.
|
![]() | GetMainObjects |
Gets main objects directly or composes multiple partial sub-objects into one or more main objects.
|
![]() | GetNewJobWithSharedResourcesTJob |
Gets new job of TJob using factoryJobGetter and initializes it with all properties used in
InitializeWith``1(UMP, RepositoryPathHelper, ContinuousIntegrationTranslationHelper, FileSystemBindingsProcessor, IFileSystemWriter, ICachedFileSystemReader, SeparatedFieldProcessor, NullableBoolean, NullableBoolean)
of the job calling this method.
(Inherited from AbstractFileSystemJob.) |
![]() | GetNewJobWithSharedResourcesAndHandlersTJob |
Gets new job of TJob using factoryJobGetter and initializes it with all properties used in
InitializeWith``1(UMP, RepositoryPathHelper, ContinuousIntegrationTranslationHelper, FileSystemBindingsProcessor, IFileSystemWriter, ICachedFileSystemReader, SeparatedFieldProcessor, NullableBoolean, NullableBoolean)
and registers all handlers using SetLogProgressHandler``1(UMP, EventHandlerLogProgressEventArgs)
of the job calling this method.
(Inherited from AbstractFileSystemProgressLoggingJob.) |
![]() | GetObjectInfoMessageFormat |
Gets format of message informing about object's action.
(Inherited from AbstractFileSystemTypeWideJob.) |
![]() | CheckContinuousIntegrationLicense |
Check license requirement for Continuous Integration and throws LicenseException if they are not met.
(Inherited from AbstractFileSystemJob.) |
![]() | InitializeCancellationToken |
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.
(Inherited from AbstractFileSystemJob.) |
![]() | RaiseLogProgress(LogItem) |
Logs message to progress log.
(Inherited from AbstractFileSystemProgressLoggingJob.) |
![]() | RaiseLogProgress(String, LogItemTypeEnum, LogItemActionTypeEnum) |
Logs message to progress log.
(Inherited from AbstractFileSystemProgressLoggingJob.) |
![]() | RegisterTranslationRecord |
Registers a new translation record into TranslationHelper.
(Inherited from AbstractFileSystemJob.) |
![]() | ReplaceTranslationRecord |
Registers record for given info into TranslationHelper.
|
![]() | RunInternal |
Inserts all objects of given object type that are present in the file system repository to the database. If object already exists, it is updated.
(Overrides AbstractFileSystemTypeWideJobRunInternal(String, ISetRepositoryLocationsCollection, CancellationToken).) |
![]() | SetChangedObject |
Sets changed object to the database.
|