Exemplo n.º 1
0
  public BlameAction(
      OpTask testObject,
      List<User> groupMembers,
      List<User> committers,
      AtTaskForJenkins.DescriptorImpl descriptor,
      String testID) {

    this.testObject = testObject;
    this.testName = testObject.getName();
    this.groupMembers = groupMembers;
    this.committers = committers;
    this.descriptor = descriptor;
    this.testID = testID;

    if (committers.size() == 0) this.committers = new ArrayList<User>();
  }
Exemplo n.º 2
0
  @SuppressWarnings(value = "@Deprecated")
  public BlameAction(
      OpTask testObject,
      User assignedTo,
      List<User> groupMembers,
      List<User> committers,
      AtTaskForJenkins.DescriptorImpl descriptor,
      String testID) {

    this.testObject = testObject;
    this.testName = testObject.getName();
    this.assignedTo = assignedTo;
    this.groupMembers = groupMembers;
    this.committers = committers;
    this.descriptor = descriptor;
    this.testID = testID;

    if (committers.size() == 0) this.committers = new ArrayList<User>();
  }