Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17469

The External Resources Manager should handle the state changes of the ExternalResource object

XMLWordPrintable

      There should be a clearer separation of concerns where the resource manager is responsible for the state changes of the ExternalResource object so that we do not need constructs like:

      [pseudocode]
      manager.lock(resource, "Locked by me")
      resource.setLocked(info)
      // Do some work before unlocking...
      manager.release(resource)
      resource.setLocked(null)

            patrik Patrik Johansson
            patrik Patrik Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: