Package org.apache.camel.tooling.model
Class ComponentModel.ApiOptionModel
- java.lang.Object
-
- org.apache.camel.tooling.model.BaseOptionModel
-
- org.apache.camel.tooling.model.ComponentModel.ApiOptionModel
-
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- ComponentModel
public static class ComponentModel.ApiOptionModel extends BaseOptionModel implements Cloneable
-
-
Field Summary
-
Fields inherited from class org.apache.camel.tooling.model.BaseOptionModel
asPredicate, autowired, configurationClass, configurationField, defaultValue, defaultValueNote, deprecated, deprecationNote, description, displayName, enums, getterMethod, group, javaType, kind, label, multiValue, name, nestedType, newGroup, oneOfs, optionalPrefix, prefix, required, secret, setterMethod, type
-
-
Constructor Summary
Constructors Constructor Description ApiOptionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
clone()
ComponentModel.ApiOptionModel
copy()
boolean
isOptional()
void
setOptional(boolean optional)
-
Methods inherited from class org.apache.camel.tooling.model.BaseOptionModel
getConfigurationClass, getConfigurationField, getDefaultValue, getDefaultValueNote, getDeprecationNote, getDescription, getDisplayName, getEnums, getGetterMethod, getGroup, getJavaType, getKind, getLabel, getName, getNestedType, getOneOfs, getOptionalPrefix, getPrefix, getSetterMethod, getShortDefaultValue, getShortGroup, getShortJavaType, getShortJavaType, getShortName, getType, isAsPredicate, isAutowired, isDeprecated, isMultiValue, isNewGroup, isRequired, isSecret, setAsPredicate, setAutowired, setConfigurationClass, setConfigurationField, setDefaultValue, setDefaultValueNote, setDeprecated, setDeprecationNote, setDescription, setDisplayName, setEnums, setGetterMethod, setGroup, setJavaType, setKind, setLabel, setMultiValue, setName, setNestedType, setNewGroup, setOneOfs, setOptionalPrefix, setPrefix, setRequired, setSecret, setSetterMethod, setType
-
-
-
-
Method Detail
-
isOptional
public boolean isOptional()
-
setOptional
public void setOptional(boolean optional)
-
copy
public ComponentModel.ApiOptionModel copy()
-
clone
protected Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-