Class SourceDefinition

  • All Implemented Interfaces:
    org.apache.camel.spi.HasId, org.apache.camel.spi.IdAware

    @Configurer
    public class SourceDefinition
    extends Object
    implements org.apache.camel.spi.IdAware
    • Constructor Detail

      • SourceDefinition

        public SourceDefinition()
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface org.apache.camel.spi.HasId
      • setId

        public void setId​(String id)
        Sets the id
        Specified by:
        setId in interface org.apache.camel.spi.IdAware
      • getName

        public String getName()
      • setName

        public void setName​(String name)
        The name of the source.
      • getLanguage

        public String getLanguage()
      • setLanguage

        public void setLanguage​(String language)
        The language use to define the source.
      • getLoader

        public String getLoader()
      • setLoader

        public void setLoader​(String loader)
        The SourceLoader that should be used to load the content of the source.
      • getInterceptors

        public List<String> getInterceptors()
      • getPropertyNames

        public List<String> getPropertyNames()
      • setPropertyNames

        public void setPropertyNames​(List<String> propertyNames)
        The list of properties names the source requires (used only for templates).
      • getLocation

        public String getLocation()
      • setLocation

        public void setLocation​(String location)
        The location of the source.
      • getContent

        public byte[] getContent()
      • setContent

        public void setContent​(byte[] content)
        The content of the source.
      • isCompressed

        public boolean isCompressed()
      • setCompressed

        public void setCompressed​(boolean compressed)
        If the content of the source is compressed.