Line data Source code
1 : // Copyright (C) 2016 The Android Open Source Project 2 : // 3 : // Licensed under the Apache License, Version 2.0 (the "License"); 4 : // you may not use this file except in compliance with the License. 5 : // You may obtain a copy of the License at 6 : // 7 : // http://www.apache.org/licenses/LICENSE-2.0 8 : // 9 : // Unless required by applicable law or agreed to in writing, software 10 : // distributed under the License is distributed on an "AS IS" BASIS, 11 : // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 : // See the License for the specific language governing permissions and 13 : // limitations under the License. 14 : 15 : package com.google.gerrit.extensions.api.projects; 16 : 17 : import com.google.gerrit.extensions.client.InheritableBoolean; 18 : import com.google.gerrit.extensions.client.ProjectState; 19 : import com.google.gerrit.extensions.client.SubmitType; 20 : import java.util.Map; 21 : 22 22 : public class ConfigInput { 23 : public String description; 24 : public InheritableBoolean useContributorAgreements; 25 : public InheritableBoolean useContentMerge; 26 : public InheritableBoolean useSignedOffBy; 27 : public InheritableBoolean createNewChangeForAllNotInTarget; 28 : public InheritableBoolean requireChangeId; 29 : public InheritableBoolean enableSignedPush; 30 : public InheritableBoolean requireSignedPush; 31 : public InheritableBoolean rejectImplicitMerges; 32 : public InheritableBoolean privateByDefault; 33 : public InheritableBoolean workInProgressByDefault; 34 : public InheritableBoolean enableReviewerByEmail; 35 : public InheritableBoolean matchAuthorToCommitterDate; 36 : public InheritableBoolean rejectEmptyCommit; 37 : public String maxObjectSizeLimit; 38 : public SubmitType submitType; 39 : public ProjectState state; 40 : public Map<String, Map<String, ConfigValue>> pluginConfigValues; 41 : public Map<String, CommentLinkInput> commentLinks; 42 : }