In a Java VSE extension, you can overwrite any of the following methods:
Example
The following example uses the onPostRecord() method to change the name of a class during recording. This example calls the setClassName() method of the com.itko.lisa.remote.vse.VSEFrame class. For more information, see the JavaDocs in the doc folder of your installation directory.
public class MyInterceptor extends AbstractVSEInterceptor { ... public boolean onPostRecord(VSEFrame frame, Object src, String clazz, String method, String signature, Object[] args, Object ret) { frame.setClassName(clazz.replaceAll("\\.", "_")); return super.onPostRecord(frame, src, clazz, method, signature, args, ret); } }
Copyright © 2014 CA Technologies.
All rights reserved.
|
|