wt.workflow.engine
Class MigrateWfQueueEntries
java.lang.Object
wt.workflow.engine.MigrateWfQueueEntries
- All Implemented Interfaces:
- RemoteAccess
- public class MigrateWfQueueEntries
- extends Object
- implements RemoteAccess
Migrate all 6.2.6 ScheduleQueueEntry
amd QueueEntry
objects to equivalent 7.0 entries. This process consists simply in the removal of
the ObjectIdentifier
argument from the argument list. This process is
facilitate by the fact that this argument is always the last. Only entries that
correspond to the followng methods are affected.
QueueEntry
- propagateEvent
- runRobot
- changeState
- completeTransition
- restoreState
ScheduleQueueEntry
- changeState
- processDeadline
- processTimeToDeadline
- processTimePastDeadline
- synchronize
This class can be called stand-alone by issuing the command:
java wt.workflow.engine.MigrateWfQueueEntries
or the 'doMigrate' can be called from another class to perform the migration of the
entries, as shown below:
wt.workflow.engine.MigrateWfQueueEntries.doMigrate ();
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processingMethods
private static final String[] processingMethods
scheduleMethods
private static final String[] scheduleMethods
MigrateWfQueueEntries
public MigrateWfQueueEntries()
doMigrate
public static void doMigrate()
throws WTException
- Throws:
WTException
_doMigrate
public static void _doMigrate()
throws WTException
- Throws:
WTException
getEntries
private static QueryResult getEntries(Class entry_class,
String[] method_names)
throws WTException
- Throws:
WTException
migrateEntry
private static void migrateEntry(WtQueueEntry queue_entry)
throws WTException
- Throws:
WTException
getArgs
private static Vector getArgs(WtQueueEntry queue_entry)
throws WTException
- Throws:
WTException
setArgs
private static void setArgs(WtQueueEntry queue_entry,
Vector args)
throws WTException
- Throws:
WTException
main
public static void main(String[] args)
show
private static String show(WtQueueEntry entry)
throws WTException
- Throws:
WTException
getOid
private static ObjectIdentifier getOid(Object obj)
throws WTException
- Throws:
WTException