Class JavaOptions


  • public class JavaOptions
    extends java.lang.Object
    Options class for java 2 generator.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean generate_providence_core_types
      Set to true to generate types belonging in the 'net.morimekta.providence' and 'net.morimekta.providence.model' packages.
      boolean generated_annotation_date
      Add current date to the @Generated annotation for each generated class.
      boolean generated_annotation_version
      Add providence version to the @Generated annotation for each generated class.
      boolean hazelcast_portable
      Add hazelcast_portable serializer and deserializers for portable interface.
      boolean jackson
      Add jackson serializers and deserializers.
      boolean rw_binary
      Add precompiled serialization for the binary protocol.
      boolean serializable
      Make all message types serializable.
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaOptions()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • jackson

        public boolean jackson
        Add jackson serializers and deserializers.
      • rw_binary

        public boolean rw_binary
        Add precompiled serialization for the binary protocol.
      • serializable

        public boolean serializable
        Make all message types serializable. Defaults to true. If false, only exceptions will be serializable (as the Throwable class implements serializable.
      • hazelcast_portable

        public boolean hazelcast_portable
        Add hazelcast_portable serializer and deserializers for portable interface.
      • generated_annotation_version

        public boolean generated_annotation_version
        Add providence version to the @Generated annotation for each generated class.
      • generated_annotation_date

        public boolean generated_annotation_date
        Add current date to the @Generated annotation for each generated class.
      • generate_providence_core_types

        public boolean generate_providence_core_types
        Set to true to generate types belonging in the 'net.morimekta.providence' and 'net.morimekta.providence.model' packages. Per default this is skipped as the models are located in the 'providence-core' and 'providence-reflect' packages respectively, where they are mainly used.
    • Constructor Detail

      • JavaOptions

        public JavaOptions()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object