Annotation Type Contract
-
@Retention(RUNTIME) @Target(TYPE) public @interface ContractClass level annotation that identifies this class as being a contract. Can supply information and an alternative name for the contract rather than the classname
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description InfoinfoThe Info object can be supplied to provide additional information about the contract, including title, description, version and licensejava.lang.StringnameNormally the name of the class is used to refer to the contract (name without package).
-
-
-
Element Detail
-
info
Info info
The Info object can be supplied to provide additional information about the contract, including title, description, version and license- Returns:
- Info object
- Default:
- @org.hyperledger.fabric.contract.annotation.Info
-
-