/*
 * =================================================================================================
 *                             Copyright (C) 2014 Martin Albedinsky
 * =================================================================================================
 *         Licensed under the Apache License, Version 2.0 or later (further "License" only).
 * -------------------------------------------------------------------------------------------------
 * You may use this file only in compliance with the License. More details and copy of this License
 * you may obtain at
 *
 * 		http://www.apache.org/licenses/LICENSE-2.0
 *
 * You can redistribute, modify or publish any part of the code written within this file but as it
 * is described in the License, the software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES or CONDITIONS OF ANY KIND.
 *
 * See the License for the specific language governing permissions and limitations under the License.
 * =================================================================================================
 */
package com.albedinsky.android.dialog.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Defines an annotation for determining set of Dialog ids that are provided by a specific
 * {@link com.albedinsky.android.dialog.manage.DialogController.DialogFactory DialogFactory}.
 *
 * <h3>Usage</h3>
 * <ul>
 * <li>{@link com.albedinsky.android.dialog.manage.BaseDialogFactory BaseDialogFactory}</li>
 * </ul>
 *
 * @author Martin Albedinsky
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface FactoryDialogs {

	/**
	 * An array with Dialog ids to be provided by DialogFactory.
	 *
	 * @see com.albedinsky.android.dialog.manage.BaseDialogFactory#isDialogProvided(int) BaseDialogFactory.isDialogProvided(int)
	 */
	int[] value();
}
