Class CustomSoftwareSource


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220901")
    public final class CustomSoftwareSource
    extends SoftwareSource
    The object that defines a custom software source.

    A software source contains a collection of packages. For more information, see Managing Software Sources.
    Note: Objects should always be created or deserialized using the CustomSoftwareSource.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the CustomSoftwareSource.Builder, which maintain a set of all explicitly set fields called CustomSoftwareSource.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getVendorSoftwareSources

        public List<Id> getVendorSoftwareSources()
        List of vendor software sources that are used for the basis of the custom software source.
        Returns:
        the value
      • getIsAutomaticallyUpdated

        public Boolean getIsAutomaticallyUpdated()
        Indicates whether the service should automatically update the custom software source to use the latest package versions available.

        The service reviews packages levels once a day.

        Returns:
        the value
      • getIsAutoResolveDependencies

        public Boolean getIsAutoResolveDependencies()
        Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
        Returns:
        the value
      • getIsCreatedFromPackageList

        public Boolean getIsCreatedFromPackageList()
        Indicates whether the service should create the software source from a list of packages provided by the user.
        Returns:
        the value
      • getIsLatestContentOnly

        public Boolean getIsLatestContentOnly()
        Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).
        • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages. * For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream. * For a package filter that does not specify a version, this will include only the latest available version of the package. * For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored). * For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
        Returns:
        the value
      • getPackages

        public List<String> getPackages()
        The packages in the software source.
        Returns:
        the value
      • getSoftwareSourceSubType

        public SoftwareSourceSubType getSoftwareSourceSubType()
        Identifies how the custom software source was created.
        Returns:
        the value
      • getTimeMetadataUpdated

        public Date getTimeMetadataUpdated()
        The date and time the metadata for this software source was last updated (in RFC 3339 format).
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class SoftwareSource
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation