com.ptc.windchill.upgrade.dust
Class ExportBlobDataClient
java.lang.Object
com.ptc.windchill.upgrade.dust.ExportBlobDataClient
- public class ExportBlobDataClient
- extends Object
Reads all instances of all concrete persistables in the model registry for a given class and its
subclasses, rewriting any blobs or smallblobs whose contains externalizable Java object changed
class schema layout when read.
- See Also:
ExportBlobDataServer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEVELOPER_MODE
private static boolean DEVELOPER_MODE
RESOURCE
private static final String RESOURCE
CLASS_NAME
private static final String CLASS_NAME
SERVER_CLASS_NAME
private static final String SERVER_CLASS_NAME
EXPORT_SERVER_METHOD_NAME
private static final String EXPORT_SERVER_METHOD_NAME
- See Also:
- Constant Field Values
opts
private ExportBlobCheckOpts opts
ExportBlobDataClient
public ExportBlobDataClient()
main
public static void main(String[] args)
execute
public void execute(String[] args)
throws WTException
- Throws:
WTException
exportDataForClasses
public void exportDataForClasses(String[] args)
throws WTException
- Throws:
WTException
exportDataForClasses
public void exportDataForClasses(String dir,
Object[] root_class_names,
String release_level,
int page_size,
int max_objects)
throws WTException
- Sends the export request to the server.
- Parameters:
dir
- String - the output directoryroot_class_names
- String[] - fully qualified classnames to exportrelease_level
- String -- optional release level, e.g. -l 5
- Throws:
WTException
readArgs
private boolean readArgs(String[] args)