Enum Class PluginDependencyFlags

java.lang.Object
java.lang.Enum<PluginDependencyFlags>
org.freedesktop.gstreamer.gst.PluginDependencyFlags
All Implemented Interfaces:
Serializable, Comparable<PluginDependencyFlags>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum PluginDependencyFlags extends Enum<PluginDependencyFlags> implements Enumeration
Flags used in connection with gst_plugin_add_dependency().
  • Enum Constant Details

    • NONE

      public static final PluginDependencyFlags NONE
      no special flags
    • RECURSE

      public static final PluginDependencyFlags RECURSE
      recurse into subdirectories
    • PATHS_ARE_DEFAULT_ONLY

      public static final PluginDependencyFlags PATHS_ARE_DEFAULT_ONLY
      use paths argument only if none of the environment variables is set
    • FILE_NAME_IS_SUFFIX

      public static final PluginDependencyFlags FILE_NAME_IS_SUFFIX
      interpret filename argument as filter suffix and check all matching files in the directory
    • FILE_NAME_IS_PREFIX

      public static final PluginDependencyFlags FILE_NAME_IS_PREFIX
      interpret filename argument as filter prefix and check all matching files in the directory. Since: 1.8.
    • PATHS_ARE_RELATIVE_TO_EXE

      public static final PluginDependencyFlags PATHS_ARE_RELATIVE_TO_EXE
      interpret non-absolute paths as relative to the main executable directory. Since 1.14.
  • Method Details

    • values

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

      public static PluginDependencyFlags valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static Set<PluginDependencyFlags> of(int flags)
      Create a new EnumSet<PluginDependencyFlags> for the provided bitfield
      Parameters:
      flags - the PluginDependencyFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<PluginDependencyFlags> of(MemorySegment address)
      Create a new EnumSet<PluginDependencyFlags> for the bitfield in the provided memory address.
      Parameters:
      address - the memory address holding a bitfield value
      Returns:
      the EnumSet for the bitfield in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the PluginDependencyFlags class.
      Returns:
      the GType