Class PVsMatchingParameter
java.lang.Object
org.epics.archiverappliance.mgmt.bpl.PVsMatchingParameter
Small utility class for listing PVs that match a parameter
- Author:
- mshankar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic LinkedList<String> getMatchingPVs(List<String> pvs, String regex, int limit, ConfigService configService, boolean includePVSThatDontExist) Given a BPL request, get all the matching PVsstatic LinkedList<String> getMatchingPVs(javax.servlet.http.HttpServletRequest req, ConfigService configService, boolean includePVSThatDontExist, int defaultLimit) Given a BPL request, get all the matching PVsstatic LinkedList<String> getMatchingPVs(javax.servlet.http.HttpServletRequest req, ConfigService configService, int defaultLimit) static LinkedList<String> getPVNamesFromPostBody(javax.servlet.http.HttpServletRequest req) getRequestParameters(javax.servlet.http.HttpServletRequest req)
-
Constructor Details
-
PVsMatchingParameter
public PVsMatchingParameter()
-
-
Method Details
-
getMatchingPVs
public static LinkedList<String> getMatchingPVs(javax.servlet.http.HttpServletRequest req, ConfigService configService, int defaultLimit) -
getMatchingPVs
public static LinkedList<String> getMatchingPVs(javax.servlet.http.HttpServletRequest req, ConfigService configService, boolean includePVSThatDontExist, int defaultLimit) Given a BPL request, get all the matching PVs- Parameters:
req- HttpServletRequestconfigService- ConfigServiceincludePVSThatDontExist- Some BPL requires us to include PVs that don't exist so that they can give explicit statusdefaultLimit- The default value for the limit if the limit is not specified in the request.- Returns:
- LinkedList Matching PVs
-
getRequestParameters
-
getMatchingPVs
public static LinkedList<String> getMatchingPVs(List<String> pvs, String regex, int limit, ConfigService configService, boolean includePVSThatDontExist) Given a BPL request, get all the matching PVs- Parameters:
pvs- List of pvs and regexesregex- Single regex searchlimit- Limit of query on pvsconfigService- ConfigServiceincludePVSThatDontExist- Some BPL requires us to include PVs that don't exist so that they can give explicit status- Returns:
- LinkedList Matching PVs
-
getLimit
-
getPVNamesFromPostBody
public static LinkedList<String> getPVNamesFromPostBody(javax.servlet.http.HttpServletRequest req) throws IOException - Throws:
IOException
-