Class BaseModel<O extends BaseOptionModel>

java.lang.Object
org.apache.camel.tooling.model.BaseModel<O>
Direct Known Subclasses:
ArtifactModel, EipModel

public abstract class BaseModel<O extends BaseOptionModel> extends Object
  • Field Details

    • name

      protected String name
    • title

      protected String title
    • description

      protected String description
    • firstVersion

      protected String firstVersion
    • javaType

      protected String javaType
    • label

      protected String label
    • deprecated

      protected boolean deprecated
    • deprecatedSince

      protected String deprecatedSince
    • deprecationNote

      protected String deprecationNote
    • options

      protected final List<O extends BaseOptionModel> options
    • supportLevel

      protected SupportLevel supportLevel
    • nativeSupported

      protected boolean nativeSupported
    • metadata

      protected Map<String,Object> metadata
  • Constructor Details

    • BaseModel

      public BaseModel()
  • Method Details

    • compareTitle

      public static Comparator<BaseModel<?>> compareTitle()
    • getKind

      public abstract Kind getKind()
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getFirstVersion

      public String getFirstVersion()
    • setFirstVersion

      public void setFirstVersion(String firstVersion)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • isDeprecated

      public boolean isDeprecated()
    • setDeprecated

      public void setDeprecated(boolean deprecated)
    • getDeprecationNote

      public String getDeprecationNote()
    • setDeprecationNote

      public void setDeprecationNote(String deprecationNote)
    • getDeprecatedSince

      public String getDeprecatedSince()
    • setDeprecatedSince

      public void setDeprecatedSince(String deprecatedSince)
    • getJavaType

      public String getJavaType()
    • setJavaType

      public void setJavaType(String javaType)
    • getOptions

      public List<O> getOptions()
    • addOption

      public void addOption(O option)
    • getShortJavaType

      public String getShortJavaType()
    • getFirstVersionShort

      public String getFirstVersionShort()
    • getSupportLevel

      public SupportLevel getSupportLevel()
    • setSupportLevel

      public void setSupportLevel(SupportLevel supportLevel)
    • isNativeSupported

      public boolean isNativeSupported()
      True if the part represented by this model supports compilation to native code.
    • setNativeSupported

      public void setNativeSupported(boolean nativeSupported)
    • getMetadata

      public Map<String,Object> getMetadata()
      A free form map of key value pair representing this BaseModel's metadata
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)
    • toString

      public String toString()
      Overrides:
      toString in class Object