Class ChangeTypeForPV
- java.lang.Object
-
- org.epics.archiverappliance.mgmt.bpl.ChangeTypeForPV
-
- All Implemented Interfaces:
BPLAction
public class ChangeTypeForPV extends Object implements BPLAction
- Author:
- mshankar
Access using:http://mgmt_url/bpl/changeTypeForPV
- Change the type of the PV to the specified type. The PV needs to be paused first. For best results, consolidate all the data to one store. Note, this is actually changing the data so you should make a backup just in case. There is every chance that this may leave the data for this PV in an inconsistent state. It is also possible that the plugin may do nothing in which case you may have to rename the existing PV to a new PV; delete this PV and issue a fresh archival request. - pv The name of the pv.
- newtype The new type one of the ArchDBRTypes. For example, DBR_SCALAR_DOUBLE.
-
-
Constructor Summary
Constructors Constructor Description ChangeTypeForPV()
-
Method Summary
Modifier and Type Method Description void
execute(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService)
-
-
-
Method Detail
-
execute
public void execute(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService) throws IOException
- Specified by:
execute
in interfaceBPLAction
- Throws:
IOException
-
-