Class SigTestRecorder
java.lang.Object
ee.jakarta.tck.ws.rs.signaturetest.Recorder
ee.jakarta.tck.ws.rs.signaturetest.SigTestRecorder
This implementation of Recorder
will record signatures using the
Signature Test
framework.
-
Field Summary
Fields inherited from class ee.jakarta.tck.ws.rs.signaturetest.Recorder
classpath, packageListFile, signatureMap, signatureMapFile, signatureRepositoryDir
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]
createCommandLine
(String version, String classpath, String outputFileName, String packageName) Create a array of arguments appropriate for use with different signature recording frameworks.protected void
Perform whatever action in necessary to do the actual recording of the signatures.protected void
writePackageListFile
(String basePackageName, String signatureFile, String packageListFile) Write, to a separate file, all of the packages that were recorded.Methods inherited from class ee.jakarta.tck.ws.rs.signaturetest.Recorder
batchRecord
-
Constructor Details
-
SigTestRecorder
-
-
Method Details
-
createCommandLine
protected String[] createCommandLine(String version, String classpath, String outputFileName, String packageName) Description copied from class:Recorder
Create a array of arguments appropriate for use with different signature recording frameworks.- Specified by:
createCommandLine
in classRecorder
- Parameters:
version
- The version of the APIclasspath
- the classpath containing classes that will be recordedoutputFileName
- the file in which to write the recorded signatures topackageName
- the base package name of the signatures that will be recorded
-
writePackageListFile
protected void writePackageListFile(String basePackageName, String signatureFile, String packageListFile) throws Exception Description copied from class:Recorder
Write, to a separate file, all of the packages that were recorded. How this is accomplised will be dependent on the framework.- Specified by:
writePackageListFile
in classRecorder
- Parameters:
basePackageName
- the base packagesignatureFile
- the file in which the signatures were recorded topackageListFile
- the name of the package list file (which may or may not exist)- Throws:
Exception
- if an error occurs writing the file
-
doRecord
Description copied from class:Recorder
Perform whatever action in necessary to do the actual recording of the signatures.
-