Class ArchiveType


  • public class ArchiveType
    extends Archive
    DO NOT EDIT This file was generated by xjc from repo-common-02.xsd. Any changes will be lost upon recompilation of the schema. See the schema file for instructions on running xjc.

    A collection of files that can be downloaded for a given architecture. The node is mandatory in the repository packages and the collection must have at least one declared. Each archive contains a element and zero or more elements.

    Java class for archiveType complex type.

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

     <complexType name="archiveType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="host-os" type="{http://schemas.android.com/repository/android/common/02}osType" minOccurs="0"/>
             <element name="host-arch" type="{http://schemas.android.com/repository/android/common/02}hostArchType" minOccurs="0"/>
             <element name="jvm-bits" type="{http://schemas.android.com/repository/android/common/02}bitSizeType" minOccurs="0"/>
             <element name="min-jvm-version" type="{http://schemas.android.com/repository/android/common/02}revisionType" minOccurs="0"/>
             <element name="complete" type="{http://schemas.android.com/repository/android/common/02}completeType"/>
             <element name="patches" type="{http://schemas.android.com/repository/android/common/02}patchesType" minOccurs="0"/>
           </all>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • hostOs

        protected java.lang.String hostOs
      • hostArch

        protected java.lang.String hostArch
      • jvmBits

        protected java.lang.Integer jvmBits
    • Constructor Detail

      • ArchiveType

        public ArchiveType()
    • Method Detail

      • getHostOs

        public java.lang.String getHostOs()
        Gets the value of the hostOs property.
        Overrides:
        getHostOs in class Archive
        Returns:
        possible object is String
      • setHostOs

        public void setHostOs​(java.lang.String value)
        Sets the value of the hostOs property.
        Overrides:
        setHostOs in class Archive
        Parameters:
        value - allowed object is String
      • getHostArch

        public java.lang.String getHostArch()
        Gets the value of the hostArch property.
        Overrides:
        getHostArch in class Archive
        Returns:
        possible object is String
      • setHostArch

        public void setHostArch​(java.lang.String value)
        Sets the value of the hostArch property.
        Parameters:
        value - allowed object is String
      • getJvmBits

        public java.lang.Integer getJvmBits()
        Gets the value of the jvmBits property.
        Overrides:
        getJvmBits in class Archive
        Returns:
        possible object is Integer
      • setJvmBits

        public void setJvmBits​(java.lang.Integer value)
        Sets the value of the jvmBits property.
        Overrides:
        setJvmBits in class Archive
        Parameters:
        value - allowed object is Integer
      • setMinJvmVersionInternal

        public void setMinJvmVersionInternal​(RevisionType value)
        Sets the value of the minJvmVersion property.
        Parameters:
        value - allowed object is RevisionType
      • setCompleteInternal

        public void setCompleteInternal​(CompleteType value)
        Sets the value of the complete property.
        Parameters:
        value - allowed object is CompleteType
      • setPatchesInternal

        public void setPatchesInternal​(PatchesType value)
        Sets the value of the patches property.
        Parameters:
        value - allowed object is PatchesType
      • isValidHostOs

        public boolean isValidHostOs​(java.lang.String value)
      • isValidHostArch

        public boolean isValidHostArch​(java.lang.String value)
      • isValidJvmBits

        public boolean isValidJvmBits​(java.lang.String value)
      • setMinJvmVersion

        public void setMinJvmVersion​(RevisionType value)
        Description copied from class: Archive
        Sets the minimum JVM version needed for this Archive, if any.
        Overrides:
        setMinJvmVersion in class Archive