Enum Class BsdPsKeyword

java.lang.Object
java.lang.Enum<BsdPsKeyword>
oshi.software.common.os.unix.bsd.BsdPsKeyword
All Implemented Interfaces:
Serializable, Comparable<BsdPsKeyword>, Constable

public enum BsdPsKeyword extends Enum<BsdPsKeyword>
The union of ps output columns used by the BSD-family OSProcess implementations (FreeBSD, OpenBSD, DragonFly, NetBSD). Each platform declares its own ordered subset (see PS_KEYWORDS on the per-platform OSProcess base) and parses ps output positionally against that subset. The constant order here is not significant; only the per-platform subset order is.
  • Enum Constant Details

  • Method Details

    • values

      public static BsdPsKeyword[] 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 BsdPsKeyword 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