Revision 40070
Added by Alessia Bardi almost 9 years ago
modules/dnet-validator-workflows/trunk/src/main/java/eu/dnetlib/msro/workflows/nodes/validation/ValidatorServiceBlackboardJobNode.java | ||
---|---|---|
43 | 43 |
// VALIDATOR JOB PARAM VALUES |
44 | 44 |
private String mdstoreId; |
45 | 45 |
private String guidelines; |
46 |
private String blacklistGuidelines;
|
|
46 |
private String blacklistRuleName;
|
|
47 | 47 |
private String recordsSampleSize; |
48 | 48 |
/** Json key-value map of other parameters that will be stored in the validator back-end as they are. **/ |
49 | 49 |
private String extraParams; |
... | ... | |
102 | 102 |
// params for blacklist |
103 | 103 |
job.getParameters().put("blacklistedRecords", isShouldUpdateBlacklist() + ""); |
104 | 104 |
if (isShouldUpdateBlacklist()) { |
105 |
job.getParameters().put("blacklistGuidelines", blacklistGuidelines);
|
|
105 |
job.getParameters().put("blacklistGuidelines", blacklistRuleName);
|
|
106 | 106 |
} |
107 | 107 |
|
108 | 108 |
// datasource params |
... | ... | |
354 | 354 |
this.shouldUpdateBlacklist = shouldUpdateBlacklist; |
355 | 355 |
} |
356 | 356 |
|
357 |
public String getBlacklistGuidelines() {
|
|
358 |
return blacklistGuidelines;
|
|
357 |
public String getBlacklistRuleName() {
|
|
358 |
return blacklistRuleName;
|
|
359 | 359 |
} |
360 | 360 |
|
361 |
public void setBlacklistGuidelines(final String blacklistGuidelines) {
|
|
362 |
this.blacklistGuidelines = blacklistGuidelines;
|
|
361 |
public void setBlacklistRuleName(final String blacklistRuleName) {
|
|
362 |
this.blacklistRuleName = blacklistRuleName;
|
|
363 | 363 |
} |
364 | 364 |
|
365 | 365 |
} |
Also available in: Unified diff
wf param blacklistGuidelines renamed to blacklistRuleName