public static HarCustomFields createMessageHarCustomFields ( int historyId , int historyType , String messageNote ) { HarCustomFields customFields = new HarCustomFields ( ) ; customFields . addCustomField ( MESSAGE_ID_CUSTOM_FIELD , Integer . toString ( historyId ) ) ; customFields . addCustomField ( MESSAGE_TYPE_CUSTOM_FIELD , Integer . toString ( historyType ) ) ; customFields . addCustomField ( MESSAGE_NOTE_CUSTOM_FIELD , messageNote ) ; return customFields ; }
Creates custom fields for the given data .