Class SourceType

java.lang.Object
slash.navigation.datasources.binding.SourceType

public class SourceType extends Object
a source describes scan and mirror automation for a datasource. presence enables both phases. url is optional and defaults to the datasource baseUrl. include and exclude carry glob patterns used by both scan filtering and wget --accept / post-wget cleanup.

Java class for sourceType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="sourceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="include" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="exclude" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="level" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • SourceType

      public SourceType()
  • Method Details

    • getInclude

      public List<String> getInclude()
      Gets the value of the include property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the include property.

      For example, to add a new item, do as follows:

       getInclude().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

      Returns:
      The value of the include property.
    • getExclude

      public List<String> getExclude()
      Gets the value of the exclude property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the exclude property.

      For example, to add a new item, do as follows:

       getExclude().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

      Returns:
      The value of the exclude property.
    • getUrl

      public String getUrl()
      Gets the value of the url property.
      Returns:
      possible object is String
    • setUrl

      public void setUrl(String value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is String
    • getLevel

      public Integer getLevel()
      Gets the value of the level property.
      Returns:
      possible object is Integer
    • setLevel

      public void setLevel(Integer value)
      Sets the value of the level property.
      Parameters:
      value - allowed object is Integer