public class JsonExtensionRegistrationTask extends Object implements JIPipeValidatable
JIPipeJsonExtension
Constructor and Description |
---|
JsonExtensionRegistrationTask(JIPipe registry,
Path filePath,
com.fasterxml.jackson.databind.JsonNode jsonNode) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRegister() |
Path |
getFilePath() |
com.fasterxml.jackson.databind.JsonNode |
getJsonNode() |
void |
reportValidity(JIPipeIssueReport report)
Generates a validity report
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateValidityReport
public JsonExtensionRegistrationTask(JIPipe registry, Path filePath, com.fasterxml.jackson.databind.JsonNode jsonNode)
registry
- the registryfilePath
- the path the JSON data came from. Has only informational value. Can be null.jsonNode
- the JSON data node that contains the serialized extensionpublic boolean canRegister()
public com.fasterxml.jackson.databind.JsonNode getJsonNode()
public Path getFilePath()
public void reportValidity(JIPipeIssueReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
report
- the report to be added toCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.