org.drools.task.event.TaskUserEvent Maven / Gradle / Ivy
package org.drools.task.event;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
public class TaskUserEvent extends TaskEvent implements Externalizable {
private String userId;
public TaskUserEvent() {
super();
}
public TaskUserEvent(long taskId, String userId) {
super( taskId );
this.userId = userId;
}
public void writeExternal(ObjectOutput out) throws IOException {
super.writeExternal( out );
out.writeUTF( userId );
}
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
super.readExternal( in );
userId = in.readUTF();
}
public String getUserId() {
return userId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy