1
|
package eu.dnetlib.msro.oai.workflows.nodes;
|
2
|
|
3
|
import com.googlecode.sarasvati.NodeToken;
|
4
|
import eu.dnetlib.data.information.oai.utils.OAIParameterNames;
|
5
|
import eu.dnetlib.enabling.tools.blackboard.BlackboardJob;
|
6
|
|
7
|
public class OAISetsCountJobNode extends AbstractOAIJobNode {
|
8
|
|
9
|
private String configuredOnly;
|
10
|
|
11
|
@Override
|
12
|
void completePrepareJob(final BlackboardJob job, final NodeToken token) {
|
13
|
job.setAction("COUNT_SETS");
|
14
|
job.getParameters().put(OAIParameterNames.OAI_CONFIGURED_SETS_ONLY, getConfiguredOnly());
|
15
|
}
|
16
|
|
17
|
public String getConfiguredOnly() {
|
18
|
return configuredOnly;
|
19
|
}
|
20
|
|
21
|
public void setConfiguredOnly(final String configuredOnly) {
|
22
|
this.configuredOnly = configuredOnly;
|
23
|
}
|
24
|
|
25
|
}
|