public static ExecutableFlow createExecutableFlow(final Project project, final Flow flow) { final ExecutableFlow exflow = new ExecutableFlow(project, flow); exflow.addAllProxyUsers(project.getProxyUsers()); return exflow; }
this.addAllProxyUsers(proxyUserList);
public static ExecutableFlow createExecutableFlow(final Project project, final Flow flow) { final ExecutableFlow exflow = new ExecutableFlow(project, flow); exflow.addAllProxyUsers(project.getProxyUsers()); return exflow; }
exflow.addAllProxyUsers(project.getProxyUsers());
exflow.addAllProxyUsers(project.getProxyUsers());
this.addAllProxyUsers(proxyUserList);
@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); } }