public abstract class JIPipeDefaultNodeRegistrationTask extends Object implements JIPipeNodeRegistrationTask
JIPipeNodeRegistrationTask
Constructor and Description |
---|
JIPipeDefaultNodeRegistrationTask()
Creates a new task
|
Modifier and Type | Method and Description |
---|---|
boolean |
canRegister()
Returns true if the registration can be done
This function should fail as fast as possible
|
Set<String> |
getDependencyAlgorithmIds() |
Set<Class<? extends JIPipeData>> |
getDependencyDatatypeClasses() |
Set<String> |
getDependencyDatatypeIds() |
void |
reportValidity(JIPipeIssueReport report)
Generates a validity report
|
void |
setDependencyAlgorithmIds(Set<String> dependencyAlgorithmIds) |
void |
setDependencyDatatypeClasses(Set<Class<? extends JIPipeData>> dependencyDatatypeClasses)
Sets dependency data classes.
|
void |
setDependencyDatatypeIds(Set<String> dependencyDatatypeIds) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
register
generateValidityReport
public JIPipeDefaultNodeRegistrationTask()
public Set<String> getDependencyAlgorithmIds()
public void setDependencyAlgorithmIds(Set<String> dependencyAlgorithmIds)
dependencyAlgorithmIds
- IDs of dependency algorithmspublic boolean canRegister()
JIPipeNodeRegistrationTask
canRegister
in interface JIPipeNodeRegistrationTask
public Set<String> getDependencyDatatypeIds()
public void setDependencyDatatypeIds(Set<String> dependencyDatatypeIds)
dependencyDatatypeIds
- IDs of dependency data typespublic Set<Class<? extends JIPipeData>> getDependencyDatatypeClasses()
public void setDependencyDatatypeClasses(Set<Class<? extends JIPipeData>> dependencyDatatypeClasses)
dependencyDatatypeClasses
- Dependency data classespublic 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.