public class JsonExtensionRegistrationTask extends Object implements JIPipeValidatable
JIPipeJsonPlugin
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(JIPipeValidationReportContext reportContext,
JIPipeValidationReport 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(JIPipeValidationReportContext reportContext, JIPipeValidationReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
reportContext
- the report contextreport
- the report to be added toCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.