1 /* 2 * Copyright 2022 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.google.android.libraries.mobiledatadownload.internal.annotations; 17 18 import java.lang.annotation.Retention; 19 import java.lang.annotation.RetentionPolicy; 20 import javax.inject.Qualifier; 21 22 /** Annotations for MDD internals. */ 23 // TODO(b/168081073): Add AccountManager and SequentialControlExecutor to this file. 24 public final class Annotations { 25 /** Qualifier for the PDS migration diagnostic metadata. */ 26 @Qualifier 27 @Retention(RetentionPolicy.RUNTIME) 28 public @interface PdsMigrationDiagnostic {} 29 30 /** Qualifier for the PDS migration destination metadata. */ 31 @Qualifier 32 @Retention(RetentionPolicy.RUNTIME) 33 public @interface PdsMigrationDestination {} 34 35 /** Qualifier for the PDS migration file groups destination uri. */ 36 @Qualifier 37 @Retention(RetentionPolicy.RUNTIME) 38 public @interface FileGroupsDestinationUri {} 39 40 /** Qualifier for the PDS migration file groups diagnostic uri. */ 41 @Qualifier 42 @Retention(RetentionPolicy.RUNTIME) 43 public @interface FileGroupsDiagnosticUri {} 44 45 /** Qualifier for the PDS migration shared files destination uri. */ 46 @Qualifier 47 @Retention(RetentionPolicy.RUNTIME) 48 public @interface SharedFilesDestinationUri {} 49 50 /** Qualifier for the PDS migration shared files diagnostic uri. */ 51 @Qualifier 52 @Retention(RetentionPolicy.RUNTIME) 53 public @interface SharedFilesDiagnosticUri {} 54 55 /** Qualifier for the PDS for logging state. */ 56 @Qualifier 57 @Retention(RetentionPolicy.RUNTIME) 58 public @interface LoggingStateStore {} 59 Annotations()60 private Annotations() {} 61 } 62