Merge "Add label data into GET /project/ REST endpoint"

This commit is contained in:
Alice Kober-Sotzek
2017-07-11 15:31:04 +00:00
committed by Gerrit Code Review
9 changed files with 115 additions and 17 deletions

View File

@@ -0,0 +1,22 @@
// Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.gerrit.extensions.common;
import java.util.Map;
public class LabelTypeInfo {
public Map<String, String> values;
public short defaultValue;
}

View File

@@ -26,4 +26,5 @@ public class ProjectInfo {
public ProjectState state;
public Map<String, String> branches;
public List<WebLinkInfo> webLinks;
public Map<String, LabelTypeInfo> labels;
}