|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.charts.util.ChartReportUtils
public class ChartReportUtils
Common utility methods for charting reports
Field Summary | |
---|---|
static String |
FILTER_PARAM_PREFIX
|
static String |
PROJECT_PARAM_PREFIX
|
Method Summary | |
---|---|
static String |
extractProjectOrFilterId(String projectOrFilterId)
Extracts the id component of the 'projectOrFilterId'. |
static boolean |
isValidFilterParamFormat(String projectOrFilterId)
Checks that the projectOrFilterId has a valid format according to isValidFilterParamFormat(String) with
prefix FILTER_PARAM_PREFIX |
static boolean |
isValidProjectParamFormat(String projectOrFilterId)
Checks that the projectOrFilterId has a valid format according to isValidFilterParamFormat(String) with
prefix PROJECT_PARAM_PREFIX |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROJECT_PARAM_PREFIX
public static final String FILTER_PARAM_PREFIX
Method Detail |
---|
public static boolean isValidProjectParamFormat(String projectOrFilterId)
isValidFilterParamFormat(String)
with
prefix PROJECT_PARAM_PREFIX
projectOrFilterId
- the value from form to validate
project
-ID formatisValidFilterParamFormat(String)
public static boolean isValidFilterParamFormat(String projectOrFilterId)
isValidFilterParamFormat(String)
with
prefix FILTER_PARAM_PREFIX
projectOrFilterId
- the value from form to validate
filter-
ID formatisValidFilterParamFormat(String)
public static String extractProjectOrFilterId(String projectOrFilterId)
projectOrFilterId
- the raw value of 'projectOrFilterId' from the request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |