Locking Flex Objects on Job Execution

How to configure a plugin to use a lock type

ActionPluginConfiguration supports three types of lock types:

  • LockType.SHARED: other jobs can use the object (e.g. asset) while this job is executing. Multiple jobs can run using this object in SHARED status.
  • LockType.EXCLUSIVE: no other job can use the object while this job is executing.
  • LockType.NONE: no lock is required to run this job. This is the default if no lockType is configured.