Class OperatingSystem.ProcessFiltering

java.lang.Object
oshi.software.os.OperatingSystem.ProcessFiltering
Enclosing interface:
OperatingSystem

public static final class OperatingSystem.ProcessFiltering
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.util.function.Predicate<OSProcess> ALL_PROCESSES
    No filtering.
    static java.util.function.Predicate<OSProcess> BITNESS_32
    Only include 32-bit processes.
    static java.util.function.Predicate<OSProcess> BITNESS_64
    Only incude 64-bit processes.
    static java.util.function.Predicate<OSProcess> NO_PARENT
    Exclude child processes.
    static java.util.function.Predicate<OSProcess> VALID_PROCESS
    Exclude processes with OSProcess.State.INVALID process state.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ALL_PROCESSES

      public static final java.util.function.Predicate<OSProcess> ALL_PROCESSES
      No filtering.
    • VALID_PROCESS

      public static final java.util.function.Predicate<OSProcess> VALID_PROCESS
      Exclude processes with OSProcess.State.INVALID process state.
    • NO_PARENT

      public static final java.util.function.Predicate<OSProcess> NO_PARENT
      Exclude child processes. Only include processes which are their own parent.
    • BITNESS_64

      public static final java.util.function.Predicate<OSProcess> BITNESS_64
      Only incude 64-bit processes.
    • BITNESS_32

      public static final java.util.function.Predicate<OSProcess> BITNESS_32
      Only include 32-bit processes.