removed progress bar handler attached to resultset client (not used here)
This commit is contained in:
parent
2aafbc8506
commit
8b3f8896a5
|
@ -38,11 +38,6 @@ public class EnrichGraphDBContentJobNode extends AsyncJobNode {
|
||||||
|
|
||||||
private static final Log log = LogFactory.getLog(EnrichGraphDBContentJobNode.class);
|
private static final Log log = LogFactory.getLog(EnrichGraphDBContentJobNode.class);
|
||||||
|
|
||||||
private String eprParam;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private ResultSetClient resultSetClient;
|
|
||||||
|
|
||||||
private String sparqlUpdateQuery;
|
private String sparqlUpdateQuery;
|
||||||
private String publisherEndpoint;
|
private String publisherEndpoint;
|
||||||
private String datasourceInterface;
|
private String datasourceInterface;
|
||||||
|
@ -117,36 +112,14 @@ public class EnrichGraphDBContentJobNode extends AsyncJobNode {
|
||||||
this.publisherEndpoint = publisherEndpoint;
|
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() {
|
public String getDatasourceInterface() {
|
||||||
return datasourceInterface;
|
return datasourceInterface;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDatasourceInterface(String datasourceInterface) {
|
public void setDatasourceInterface(String datasourceInterface) {
|
||||||
this.datasourceInterface = 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() {
|
public String getDatasource() {
|
||||||
return datasource;
|
return datasource;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,11 +37,6 @@ public class IndexOnESJobNode extends AsyncJobNode {
|
||||||
|
|
||||||
private static final Log log = LogFactory.getLog(IndexOnESJobNode.class);
|
private static final Log log = LogFactory.getLog(IndexOnESJobNode.class);
|
||||||
|
|
||||||
private String eprParam;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private ResultSetClient resultSetClient;
|
|
||||||
|
|
||||||
private String publisherEndpoint;
|
private String publisherEndpoint;
|
||||||
private String datasourceInterface;
|
private String datasourceInterface;
|
||||||
private String datasource;
|
private String datasource;
|
||||||
|
@ -122,36 +117,14 @@ public class IndexOnESJobNode extends AsyncJobNode {
|
||||||
this.publisherEndpoint = publisherEndpoint;
|
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() {
|
public String getDatasourceInterface() {
|
||||||
return datasourceInterface;
|
return datasourceInterface;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDatasourceInterface(String datasourceInterface) {
|
public void setDatasourceInterface(String datasourceInterface) {
|
||||||
this.datasourceInterface = 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() {
|
public String getDatasource() {
|
||||||
return datasource;
|
return datasource;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue