public class PersisterHelper {
public static WorkingMemoryAction readWorkingMemoryAction(MarshallerReaderContext context) throws IOException, ClassNotFoundException {
int type = context.readInt();
switch(type) {
case WorkingMemoryAction.WorkingMemoryReteAssertAction : {
return new WorkingMemoryReteAssertAction(context);
}
case WorkingMemoryAction.DeactivateCallback : {
return new DeactivateCallback(context);
}
case WorkingMemoryAction.PropagateAction : {