Package com.google.gerrit.server.project

Examples of com.google.gerrit.server.project.CreateProjectArgs


    this.permissionsOnly = permissionsOnly;
  }

  @Override
  public VoidResult call() throws ProjectCreationFailedException {
    final CreateProjectArgs args = new CreateProjectArgs();
    args.setProjectName(projectName);
    if (!parentName.equals("")) {
      final Project.NameKey nameKey = new Project.NameKey(parentName);
      try {
        args.newParent = projectControlFactory.validateFor(nameKey);
      } catch (NoSuchProjectException e) {
View Full Code Here


    try {
      if (!suggestParent) {
        if (projectName == null) {
          throw new UnloggedFailure(1, "fatal: Project name is required.");
        }
        final CreateProjectArgs args = new CreateProjectArgs();
        args.setProjectName(projectName);
        args.ownerIds = ownerIds;
        args.newParent = newParent;
        args.permissionsOnly = permissionsOnly;
        args.projectDescription = projectDescription;
        args.submitType = submitType;
View Full Code Here

TOP

Related Classes of com.google.gerrit.server.project.CreateProjectArgs

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.