All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hudsonci.inject.Priority Maven / Gradle / Ivy

/*******************************************************************************
 *
 * Copyright (c) 2010-2011 Sonatype, Inc.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors: 
 *
 *   
 *     
 *
 *******************************************************************************/ 

package org.hudsonci.inject;

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

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Allows components to be adorned with an optional priority.
 *
 * @author Jason Dillon
 * @since 1.397
 */
@Target(TYPE)
@Retention(RUNTIME)
public @interface Priority
{
    double value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy