Class PutPVTypeInfo
- java.lang.Object
-
- org.epics.archiverappliance.mgmt.bpl.PutPVTypeInfo
-
- All Implemented Interfaces:
BPLAction
public class PutPVTypeInfo extends Object implements BPLAction
Updates the type info for a PV. The typeinfo should be sent in the POST body as JSON.- Author:
- mshankar
Access using:http://mgmt_url/bpl/putPVTypeInfo
- Updates the typeinfo for the specified PV. Note this merely updates the typeInfo. It does not have any logic to react to changes in the typeinfo. That is, don't assume that the PV is automatically paused just because you changed the isPaused to true. This is meant to be used in conjuction with other BPL to implement site-specific BPL in external code (for example, python). This can also be used to add PVTypeInfo's into the system; support for this is experimental. The new PVTypeInfo's are automatically paused before adding into the system. Logically, you have to specify at least one of override or createnew. - pv The name of the pv.
- override If the PVTypeInfo for this PV already exists, do you want to update it or return an error? By default, this is false.
- createnew If the PVTypeInfo for this PV does not exist, do you want to create a new one or return an error? By default, this is false.
-
-
Constructor Summary
Constructors Constructor Description PutPVTypeInfo()
-
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
-
-