Line data Source code
1 : // Copyright (C) 2022 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.server.notedb; 16 : 17 : import org.eclipse.jgit.revwalk.FooterKey; 18 : 19 : /** Footers, that can be set in NoteDb commits. */ 20 0 : public class ChangeNoteFooters { 21 103 : public static final FooterKey FOOTER_ATTENTION = new FooterKey("Attention"); 22 103 : public static final FooterKey FOOTER_ASSIGNEE = new FooterKey("Assignee"); 23 103 : public static final FooterKey FOOTER_BRANCH = new FooterKey("Branch"); 24 103 : public static final FooterKey FOOTER_CHANGE_ID = new FooterKey("Change-id"); 25 103 : public static final FooterKey FOOTER_COMMIT = new FooterKey("Commit"); 26 103 : public static final FooterKey FOOTER_CURRENT = new FooterKey("Current"); 27 103 : public static final FooterKey FOOTER_GROUPS = new FooterKey("Groups"); 28 103 : public static final FooterKey FOOTER_HASHTAGS = new FooterKey("Hashtags"); 29 103 : public static final FooterKey FOOTER_LABEL = new FooterKey("Label"); 30 103 : public static final FooterKey FOOTER_COPIED_LABEL = new FooterKey("Copied-Label"); 31 103 : public static final FooterKey FOOTER_PATCH_SET = new FooterKey("Patch-set"); 32 103 : public static final FooterKey FOOTER_PATCH_SET_DESCRIPTION = 33 : new FooterKey("Patch-set-description"); 34 103 : public static final FooterKey FOOTER_PRIVATE = new FooterKey("Private"); 35 103 : public static final FooterKey FOOTER_REAL_USER = new FooterKey("Real-user"); 36 103 : public static final FooterKey FOOTER_STATUS = new FooterKey("Status"); 37 103 : public static final FooterKey FOOTER_SUBJECT = new FooterKey("Subject"); 38 103 : public static final FooterKey FOOTER_SUBMISSION_ID = new FooterKey("Submission-id"); 39 103 : public static final FooterKey FOOTER_SUBMITTED_WITH = new FooterKey("Submitted-with"); 40 103 : public static final FooterKey FOOTER_TOPIC = new FooterKey("Topic"); 41 103 : public static final FooterKey FOOTER_TAG = new FooterKey("Tag"); 42 103 : public static final FooterKey FOOTER_WORK_IN_PROGRESS = new FooterKey("Work-in-progress"); 43 103 : public static final FooterKey FOOTER_REVERT_OF = new FooterKey("Revert-of"); 44 103 : public static final FooterKey FOOTER_CHERRY_PICK_OF = new FooterKey("Cherry-pick-of"); 45 : }