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

org.hyperledger.fabric.contract.annotation.License Maven / Gradle / Ivy

/*
 * Copyright 2019 IBM All Rights Reserved.
 *
 * SPDX-License-Identifier: Apache-2.0
 */
package org.hyperledger.fabric.contract.annotation;

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

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

/**
 * Class level annotation that identifies this class as being a license object.
 * Can be populated to include name and url.
 *
 */
@Retention(RUNTIME)
@Target(ElementType.TYPE)
public @interface License {

    /**
     *
     * @return String
     */
    String name() default "";

    /**
     *
     * @return String
     */
    String url() default "";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy