1 /* 2 * Copyright (C) 2010 The Android Open Source Project 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 17 package com.android.sdkuilib.internal.repository; 18 19 import com.android.sdklib.ISdkLog; 20 import com.android.sdklib.SdkManager; 21 import com.android.sdklib.internal.avd.AvdManager; 22 import com.android.sdklib.internal.repository.ITaskFactory; 23 import com.android.sdkuilib.internal.repository.icons.ImageFactory; 24 25 import org.eclipse.swt.widgets.Shell; 26 27 28 /** 29 * Interface used to retrieve some parameters from an {@link UpdaterData} instance. 30 * Useful mostly for unit tests purposes. 31 */ 32 interface IUpdaterData { 33 getTaskFactory()34 public abstract ITaskFactory getTaskFactory(); 35 getSdkLog()36 public abstract ISdkLog getSdkLog(); 37 getImageFactory()38 public abstract ImageFactory getImageFactory(); 39 getSdkManager()40 public abstract SdkManager getSdkManager(); 41 getAvdManager()42 public abstract AvdManager getAvdManager(); 43 getSettingsController()44 public abstract SettingsController getSettingsController(); 45 getWindowShell()46 public abstract Shell getWindowShell(); 47 48 } 49