public class ChartReportUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FILTER_PARAM_PREFIX |
static String |
PROJECT_PARAM_PREFIX |
Modifier and Type | Method and Description |
---|---|
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 |
public static final String PROJECT_PARAM_PREFIX
public static final String FILTER_PARAM_PREFIX
public static boolean isValidProjectParamFormat(String projectOrFilterId)
isValidFilterParamFormat(String)
with
prefix PROJECT_PARAM_PREFIX
projectOrFilterId
- the value from form to validateproject
-ID formatisValidFilterParamFormat(String)
public static boolean isValidFilterParamFormat(String projectOrFilterId)
isValidFilterParamFormat(String)
with
prefix FILTER_PARAM_PREFIX
projectOrFilterId
- the value from form to validatefilter-
ID formatisValidFilterParamFormat(String)
public static String extractProjectOrFilterId(String projectOrFilterId)
projectOrFilterId
- the raw value of 'projectOrFilterId' from the requestCopyright © 2002-2019 Atlassian. All Rights Reserved.