public String getKey() {
    return key;
  }
An exclusive resource identified by a key with a lock mode that is used to
synchronize access to shared resources when executing nodes in parallel.

@since 2.0
spock-core/src/main/java/org/spockframework/runtime/model/parallel/ExclusiveResource.java