Annotation Type Info


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Info
    Class level annotation that identifies this class as being an info object. Can supply additional information about the contract, including title, description, version, license and contact information.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Contact contact
      Contact object that can be populated with email, name and url fields.
      java.lang.String description  
      License license
      License object that can be populated to include name and url.
      java.lang.String termsOfService  
      java.lang.String title  
      java.lang.String version  
    • Element Detail

      • title

        java.lang.String title
        Default:
        ""
      • description

        java.lang.String description
        Default:
        ""
      • version

        java.lang.String version
        Default:
        ""
      • termsOfService

        java.lang.String termsOfService
        Default:
        ""
      • license

        License license
        License object that can be populated to include name and url.
        Returns:
        License object
        Default:
        @org.hyperledger.fabric.contract.annotation.License
      • contact

        Contact contact
        Contact object that can be populated with email, name and url fields.
        Returns:
        Contact object
        Default:
        @org.hyperledger.fabric.contract.annotation.Contact