public class JIPipeParameterTypeInfoRef extends Object implements JIPipeValidatable
JIPipeParameterTypeInfo
Modifier and Type | Class and Description |
---|---|
static class |
JIPipeParameterTypeInfoRef.Deserializer
Deserializes the reference from a string
|
static class |
JIPipeParameterTypeInfoRef.Serializer
Serializes the reference as ID
|
Constructor and Description |
---|
JIPipeParameterTypeInfoRef()
New instance
|
JIPipeParameterTypeInfoRef(Class<?> fieldClass) |
JIPipeParameterTypeInfoRef(JIPipeParameterTypeInfo info) |
JIPipeParameterTypeInfoRef(JIPipeParameterTypeInfoRef other)
Creates a copy
|
Modifier and Type | Method and Description |
---|---|
JIPipeParameterTypeInfo |
getInfo() |
Set<Class<?>> |
getUiAllowedParameterTypes()
Non-serialized list of allowed parameter types.
|
void |
reportValidity(JIPipeValidationReportContext reportContext,
JIPipeValidationReport report)
Generates a validity report
|
void |
setInfo(JIPipeParameterTypeInfo info) |
void |
setUiAllowedParameterTypes(Set<Class<?>> uiAllowedParameterTypes) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
generateValidityReport
public JIPipeParameterTypeInfoRef(Class<?> fieldClass)
fieldClass
- The field class of the parameterpublic JIPipeParameterTypeInfoRef(JIPipeParameterTypeInfo info)
info
- The referenced infopublic JIPipeParameterTypeInfoRef(JIPipeParameterTypeInfoRef other)
other
- the originalpublic JIPipeParameterTypeInfoRef()
public Set<Class<?>> getUiAllowedParameterTypes()
public void setUiAllowedParameterTypes(Set<Class<?>> uiAllowedParameterTypes)
public JIPipeParameterTypeInfo getInfo()
public void setInfo(JIPipeParameterTypeInfo info)
public void reportValidity(JIPipeValidationReportContext reportContext, JIPipeValidationReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
reportContext
- the report contextreport
- the report to be added toCopyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.