ecology_maven/customization/action/demo/MM050_node688_before.java

40 lines
1.1 KiB
Java
Raw Normal View History

2021-11-14 15:29:16 +08:00
package customization.action.demo;
import customization.commons.Console;
import customization.commons.CustomAction;
import weaver.interfaces.workflow.action.Action;
import weaver.soa.workflow.request.RequestInfo;
/**
*
* SAP
* +SAP MM050_SC_1230_FI_DocCreate_eg
*
* SAP
* __nodeid (before)/(after)/(export)/()end
*
*/
public class MM050_node688_before extends CustomAction implements Action {
private String type;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Override
public String execute(RequestInfo requestInfo) {
Console.log("type:" + this.getType());
requestInfo.getRequestManager().setMessageid("90002");
requestInfo.getRequestManager().setMessagecontent("MM050_node688_before");
return Action.FAILURE_AND_CONTINUE;
}
}