removed progress bar handler attached to resultset client (not used here)

This commit is contained in:
Enrico Ottonello 2020-10-10 16:53:37 +02:00
parent 2aafbc8506
commit 8b3f8896a5
2 changed files with 0 additions and 54 deletions

View File

@ -38,11 +38,6 @@ public class EnrichGraphDBContentJobNode extends AsyncJobNode {
private static final Log log = LogFactory.getLog(EnrichGraphDBContentJobNode.class);
private String eprParam;
@Autowired
private ResultSetClient resultSetClient;
private String sparqlUpdateQuery;
private String publisherEndpoint;
private String datasourceInterface;
@ -117,36 +112,14 @@ public class EnrichGraphDBContentJobNode extends AsyncJobNode {
this.publisherEndpoint = publisherEndpoint;
}
public ResultSetClient getResultSetClient() {
return resultSetClient;
}
public void setResultSetClient(final ResultSetClient resultSetClient) {
this.resultSetClient = resultSetClient;
}
public String getEprParam() {
return eprParam;
}
public void setEprParam(String eprParam) {
this.eprParam = eprParam;
}
public String getDatasourceInterface() {
return datasourceInterface;
}
public void setDatasourceInterface(String datasourceInterface) {
this.datasourceInterface = datasourceInterface;
}
@Override
protected void beforeStart(Token token) {
token.setProgressProvider(new ResultsetProgressProvider(token.getEnv().getAttribute(getEprParam(), ResultSet.class), this.resultSetClient));
}
public String getDatasource() {
return datasource;
}

View File

@ -37,11 +37,6 @@ public class IndexOnESJobNode extends AsyncJobNode {
private static final Log log = LogFactory.getLog(IndexOnESJobNode.class);
private String eprParam;
@Autowired
private ResultSetClient resultSetClient;
private String publisherEndpoint;
private String datasourceInterface;
private String datasource;
@ -122,36 +117,14 @@ public class IndexOnESJobNode extends AsyncJobNode {
this.publisherEndpoint = publisherEndpoint;
}
public ResultSetClient getResultSetClient() {
return resultSetClient;
}
public void setResultSetClient(final ResultSetClient resultSetClient) {
this.resultSetClient = resultSetClient;
}
public String getEprParam() {
return eprParam;
}
public void setEprParam(String eprParam) {
this.eprParam = eprParam;
}
public String getDatasourceInterface() {
return datasourceInterface;
}
public void setDatasourceInterface(String datasourceInterface) {
this.datasourceInterface = datasourceInterface;
}
@Override
protected void beforeStart(Token token) {
token.setProgressProvider(new ResultsetProgressProvider(token.getEnv().getAttribute(getEprParam(), ResultSet.class), this.resultSetClient));
}
public String getDatasource() {
return datasource;
}