001/** 002 * 003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. 004 * 005 * This library is free software; you can redistribute it and/or 006 * modify it under the terms of the GNU Lesser General Public 007 * License as published by the Free Software Foundation; either 008 * version 2.1 of the License, or (at your option) any later version. 009 * 010 * This library is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 013 * Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public 016 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 017 * 018 **/ 019package lucee.runtime.dump; 020 021public class DumpRow { 022 023 private int highlightType; 024 private DumpData[] items; 025 026 /** 027 * constructor of the class 028 * @param highlightType binary Values define wich columns are higlithed 029 * @param items items as DumpData Array 030 */ 031 public DumpRow(int highlightType,DumpData[] items) { 032 this.highlightType=highlightType; 033 this.items=items; 034 } 035 036 /** 037 * Constructor of the class 038 * @param highlightType binary Values define wich columns are higlithed 039 * @param item1 item for the array 040 */ 041 public DumpRow(int highlightType, DumpData item1) { 042 this(highlightType,new DumpData[]{item1}); 043 } 044 045 /** 046 * Constructor of the class 047 * @param highlightType binary Values define wich columns are higlithed 048 * @param item1 item for the array 049 * @param item2 item for the array 050 */ 051 public DumpRow(int highlightType, DumpData item1, DumpData item2) { 052 this(highlightType,new DumpData[]{item1,item2}); 053 } 054 055 /** 056 * Constructor of the class 057 * @param highlightType binary Values define wich columns are higlithed 058 * @param item1 item for the array 059 * @param item2 item for the array 060 * @param item3 item for the array 061 */ 062 public DumpRow(int highlightType, DumpData item1, DumpData item2, DumpData item3) { 063 this(highlightType,new DumpData[]{item1,item2,item3}); 064 } 065 066 /** 067 * Constructor of the class 068 * @param highlightType binary Values define wich columns are higlithed 069 * @param item1 item for the array 070 * @param item2 item for the array 071 * @param item3 item for the array 072 * @param item4 item for the array 073 */ 074 public DumpRow(int highlightType, DumpData item1, DumpData item2, DumpData item3,DumpData item4) { 075 this(highlightType,new DumpData[]{item1,item2,item3,item4}); 076 } 077 078 /** 079 * Constructor of the class 080 * @param highlightType binary Values define wich columns are higlithed 081 * @param item1 item for the array 082 * @param item2 item for the array 083 * @param item3 item for the array 084 * @param item4 item for the array 085 * @param item5 item for the array 086 */ 087 public DumpRow(int highlightType, DumpData item1, DumpData item2, DumpData item3,DumpData item4, DumpData item5) { 088 this(highlightType,new DumpData[]{item1,item2,item3,item4,item5}); 089 } 090 091 /** 092 * Constructor of the class 093 * @param highlightType binary Values define wich columns are higlithed 094 * @param item1 item for the array 095 * @param item2 item for the array 096 * @param item3 item for the array 097 * @param item4 item for the array 098 * @param item5 item for the array 099 * @param item6 item for the array 100 */ 101 public DumpRow(int highlightType, DumpData item1, DumpData item2, DumpData item3,DumpData item4, DumpData item5, DumpData item6) { 102 this(highlightType,new DumpData[]{item1,item2,item3,item4,item5,item6}); 103 } 104 105 /** 106 * @return the highlightType 107 */ 108 public int getHighlightType() { 109 return highlightType; 110 } 111 112 /** 113 * @return the items 114 */ 115 public DumpData[] getItems() { 116 return items; 117 } 118}