Annotation Type Info


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Info
    Info Details 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
        Returns:
        String
        Default:
        ""
      • description

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

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

        java.lang.String termsOfService
        Returns:
        String
        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