public class IssuesReportHelper extends Object
Modifier and Type | Field and Description |
---|---|
static int |
COLUMN_ASSIGNEE |
static int |
COLUMN_COMPONENT |
static int |
COLUMN_CREATED |
static int |
COLUMN_FIX_VERSION |
static int |
COLUMN_ID |
static int |
COLUMN_KEY |
static int |
COLUMN_PRIORITY |
static int |
COLUMN_REPORTER |
static int |
COLUMN_RESOLUTION |
static int |
COLUMN_STATUS |
static int |
COLUMN_SUMMARY |
static int |
COLUMN_TYPE |
static int |
COLUMN_UPDATED |
static int |
COLUMN_VERSION |
Constructor and Description |
---|
IssuesReportHelper() |
Modifier and Type | Method and Description |
---|---|
static List<Integer> |
getColumnIds(String columnNames,
Map<String,Integer> allColumns)
Get a list of id:s for the columns that are to be included in the report.
|
static List<Integer> |
getColumnIds(String columnNames,
Map<String,Integer> allColumns,
Map<String,Integer> deprecatedColumns,
Log log)
Get a list of id:s for the columns that are to be included in the report.
|
static String |
printValues(List<String> values)
Print a list of values separated by commas.
|
static int[] |
toIntArray(List<Integer> list)
Convert a List of Integers to an int array.
|
public static final int COLUMN_ASSIGNEE
public static final int COLUMN_COMPONENT
public static final int COLUMN_CREATED
public static final int COLUMN_FIX_VERSION
public static final int COLUMN_ID
public static final int COLUMN_KEY
public static final int COLUMN_PRIORITY
public static final int COLUMN_REPORTER
public static final int COLUMN_RESOLUTION
public static final int COLUMN_STATUS
public static final int COLUMN_SUMMARY
public static final int COLUMN_TYPE
public static final int COLUMN_UPDATED
public static final int COLUMN_VERSION
public static List<Integer> getColumnIds(String columnNames, Map<String,Integer> allColumns)
columnNames
- The names of the columnsallColumns
- A mapping from column name to column idpublic static List<Integer> getColumnIds(String columnNames, Map<String,Integer> allColumns, Map<String,Integer> deprecatedColumns, Log log)
columnNames
- The names of the columnsallColumns
- A mapping from column name to column iddeprecatedColumns
- A mapping from deprecated column name to column idlog
- A logpublic static String printValues(List<String> values)
values
- The values to printCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.