use of com.google.gerrit.extensions.api.projects.ParentInput in project gerrit by GerritCodeReview.
the class ProjectApiImpl method parent.
@Override
public void parent(String parent) throws RestApiException {
try {
ParentInput input = new ParentInput();
input.parent = parent;
setParent.apply(checkExists(), input);
} catch (Exception e) {
throw asRestApiException("Cannot set parent", e);
}
}
use of com.google.gerrit.extensions.api.projects.ParentInput in project gerrit by GerritCodeReview.
the class SetParentCommand method parentInput.
private static ParentInput parentInput(String parent) {
ParentInput input = new ParentInput();
input.parent = parent;
return input;
}
Aggregations