if (type != null && type.equals(SpecialJobTypes.EMBEDDED_FLOW_TYPE)) { final ExecutableFlowBase exFlow = new ExecutableFlowBase(); exFlow.fillExecutableFromMapObject(wrapper); exFlow.setParentFlow(this);
@Override public void fillExecutableFromMapObject( final TypedMapWrapper<String, Object> flowObj) { super.fillExecutableFromMapObject(flowObj);
if (type != null && type.equals(SpecialJobTypes.EMBEDDED_FLOW_TYPE)) { final ExecutableFlowBase exFlow = new ExecutableFlowBase(); exFlow.fillExecutableFromMapObject(wrapper); exFlow.setParentFlow(this);
if (type != null && type.equals(SpecialJobTypes.EMBEDDED_FLOW_TYPE)) { ExecutableFlowBase exFlow = new ExecutableFlowBase(); exFlow.fillExecutableFromMapObject(wrapper); exFlow.setParentFlow(this);
@Override public void fillExecutableFromMapObject( final TypedMapWrapper<String, Object> flowObj) { super.fillExecutableFromMapObject(flowObj);
@Override public void fillExecutableFromMapObject(TypedMapWrapper<String, Object> flowObj) { super.fillExecutableFromMapObject(flowObj); this.executionId = flowObj.getInt(EXECUTIONID_PARAM); this.executionPath = flowObj.getString(EXECUTIONPATH_PARAM); this.projectId = flowObj.getInt(PROJECTID_PARAM); this.scheduleId = flowObj.getInt(SCHEDULEID_PARAM); this.submitUser = flowObj.getString(SUBMITUSER_PARAM); this.version = flowObj.getInt(VERSION_PARAM); this.submitTime = flowObj.getLong(SUBMITTIME_PARAM); if (flowObj.containsKey(EXECUTIONOPTIONS_PARAM)) { this.executionOptions = ExecutionOptions.createFromObject(flowObj.getObject(EXECUTIONOPTIONS_PARAM)); } else { // for backwards compatibility should remove in a few versions. this.executionOptions = ExecutionOptions.createFromObject(flowObj); } if(flowObj.containsKey(PROXYUSERS_PARAM)) { List<String> proxyUserList = flowObj.<String>getList(PROXYUSERS_PARAM); this.addAllProxyUsers(proxyUserList); } }