Enum SourceVisibility

java.lang.Object
java.lang.Enum<SourceVisibility>
com.coveo.pushapiclient.SourceVisibility
All Implemented Interfaces:
Serializable, Comparable<SourceVisibility>, java.lang.constant.Constable

public enum SourceVisibility extends Enum<SourceVisibility>
SourceVisibility controls the content security option that should be applied to the items in a source. See https://docs.coveo.com/en/1779/index-content/content-security
  • Enum Constant Details

    • PRIVATE

      public static final SourceVisibility PRIVATE
      Items can be accessed by the source owner only.
    • SECURED

      public static final SourceVisibility SECURED
      Items can be accessed by allowed users only.
    • SHARED

      public static final SourceVisibility SHARED
      Items can be accessed by any user.
  • Method Details

    • values

      public static SourceVisibility[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SourceVisibility valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null