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

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

There is a newer version: 2.5.5
Show newest version
/*
Copyright IBM Corp., DTCC All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/

package org.hyperledger.fabric.contract.annotation;

import io.swagger.v3.oas.annotations.info.Info;

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

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

/**
 * Class level annotation that identifies this class as being a contract.
 */
@Retention(RUNTIME)
@Target(ElementType.TYPE)
public @interface Contract {
    Info info();
    String namespace() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy