📄 endstateimpl.java
字号:
package org.jbpm.model.definition.impl;
import java.util.*;
import org.jbpm.*;
import org.jbpm.model.definition.*;
import org.jbpm.model.execution.impl.*;
import org.jbpm.model.log.impl.*;
public class EndStateImpl extends StateImpl implements EndState {
public EndStateImpl() {
}
public EndStateImpl(String name) {
super( name );
}
public void acceptToken(ExecutionContextImpl executionContext) throws ExecutionException {
TokenImpl token = (TokenImpl) executionContext.getToken();
Date now = new Date();
AssignmentLogImpl assignmentLog = new AssignmentLogImpl(token.getLastAssignmentLog(), null, this );
token.add( assignmentLog );
token.setLastAssignmentLog( null );
token.setState( this );
token.end( executionContext, true );
}
public void toXml(org.dom4j.Element element) {
toXmlNameAndDescription( element );
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -