XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.1
    • None
    • None
    • None

    Description

      Optimize the String implementation, we can provide property builder for it, then can use it in CarbonCommonConstant to replace current String implementation.

      class Property<T> { 
         String name; 
         T value; 
         T default; 
         String doc; 
         boolean dynamicConfigurable; 
      
         static PropertyBuilder<String> buildStringProperty() {…} 
      } 
      

      For example

      public static final Property CARBON_BAD_RECORDS_ACTION = Property.buildStringProperty(). 
              .name(“carbon.bad.records.action”) 
              .default(“FAIL”) 
              .doc(“keep the same description as .md file”) 
              .dynamic(true) 
              .build() 
      

      Attachments

        Activity

          People

            xubo245 Bo Xu
            xubo245 Bo Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 16h 20m
                16h 20m