public class RYReportColumn extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RYReportColumn.DataType
The data type doesn't determine much, but it helps the programmer visualizing how cells render.
|
static class |
RYReportColumn.RYReportColumnEnum |
Modifier and Type | Field and Description |
---|---|
(package private) String |
column
The part before the @.
|
private RYReportColumn.RYReportColumnEnum |
columnAsEnum
The
column field, but as an enum. |
Map<String,String> |
options
Options:
- li=true/false/default/last.
|
(package private) String |
relationship
The part after the @, if any.
|
Constructor and Description |
---|
RYReportColumn(RYReportColumn.RYReportColumnEnum column,
String relationship,
String... options)
Same as
RYReportColumn(String, String, String...) , but using the proper enum as the first column |
RYReportColumn(RYReportColumn clone)
Cloning constructor
|
RYReportColumn(RYReportColumn clone,
RYReportColumn.RYReportColumnEnum newType)
Cloning constructor after changing the type
|
RYReportColumn(String column) |
RYReportColumn(String column,
String relationship,
String... options)
Explicitly build a RYReportColumn without going through the URL parsing.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
equals() is necessary for PathDefinition's equal() method.
|
String |
getColumn() |
RYReportColumn.RYReportColumnEnum |
getColumnAsEnum()
Returns the type of column, or UNKNOWN.
|
RYReportColumn.RYReportColumnEnum |
getColumnAsEnum2()
Same as
getColumnAsEnum() ,
except we return PROPERTIES if the column is in the form "@property". |
String |
getFilterBy()
A filter, for some renderers (XrayTestRunCellRenderer).
|
String |
getOption(String key)
Deprecated.
Build specific getters instead, so that we know which values are valid for the options
|
String |
getOptionDuplicates()
You can use ?duplicates=false if you want to remove duplicate references to the same page
|
String |
getOptionFormat() |
String |
getOptionJiraLabel() |
String |
getOptionJiraType() |
String |
getOptionLi()
The form of list:
- true to display an array as a bullet list in 1 cell,
- false/null to display 1 row per result,
- "last" to only display the last test result (specific to TCCell)
|
Map<String,String> |
getOptions()
Do not use.
|
String |
getOptionWithValidation(String key) |
String |
getRelationship() |
int |
hashCode() |
boolean |
isOptionDisplayJiraStatus() |
boolean |
isOptionDisplayTitle() |
boolean |
isOptionLi() |
boolean |
isOptionLiLast() |
String |
toString() |
String[] |
toTitle() |
String[] |
toTitle(boolean developDependencyRelationship) |
@Nullable final String column
@Nullable final String relationship
public Map<String,String> options
private transient RYReportColumn.RYReportColumnEnum columnAsEnum
column
field, but as an enum.public RYReportColumn(String column)
public RYReportColumn(@Nullable RYReportColumn.RYReportColumnEnum column, @Nullable String relationship, String... options)
RYReportColumn(String, String, String...)
, but using the proper enum as the first columnpublic RYReportColumn(@Nullable String column, @Nullable String relationship, String... options)
column
- the type of column, preferably one of RYReportColumn.RYReportColumnEnum
. Use null if it is a property.relationship
- the relationship or the name of the property.options
- the display options (whether or not to fetch the Jira status, etc)public RYReportColumn(RYReportColumn clone)
public RYReportColumn(RYReportColumn clone, RYReportColumn.RYReportColumnEnum newType)
public String[] toTitle()
public String[] toTitle(boolean developDependencyRelationship)
public String getOption(String key)
public boolean isOptionDisplayJiraStatus()
public boolean isOptionDisplayTitle()
public String getOptionFormat()
public String getOptionDuplicates()
public String getOptionJiraLabel()
public String getOptionJiraType()
public String getOptionLi()
public boolean isOptionLi()
public boolean isOptionLiLast()
public String getFilterBy()
@NotNull public RYReportColumn.RYReportColumnEnum getColumnAsEnum()
@NotNull public RYReportColumn.RYReportColumnEnum getColumnAsEnum2()
getColumnAsEnum()
,
except we return PROPERTIES if the column is in the form "@property".
Otherwise, return UNKNOWN.public boolean equals(Object o)
Copyright © 2021 Play SQL. All rights reserved.