cn.chenlichao.wmi4j.consts
枚举 Flags.SubclassesFlag

java.lang.Object
  继承者 java.lang.Enum<Flags.SubclassesFlag>
      继承者 cn.chenlichao.wmi4j.consts.Flags.SubclassesFlag
所有已实现的接口:
Serializable, Comparable<Flags.SubclassesFlag>
包容类:
Flags

public static enum Flags.SubclassesFlag
extends Enum<Flags.SubclassesFlag>

Optional values of flags parameter for SWbemServices.subclassesOf() and SWbemObject.subclasses()


枚举常量摘要
wbemFlagReturnImmediately
          16(0x10): Causes the call to return immediately.
wbemFlagReturnWhenComplete
          0(0x0): Causes this call to block until the query is complete.
wbemFlagUseAmendedQualifiers
          131072(0x20000): Causes WMI to return class amendment data with the base class definition.
wbemQueryFlagDeep
          0(0x0): Default value for this parameter.
wbemQueryFlagShallow
          1(0x1): Forces the enumeration to include only immediate subclasses of the specified parent class.
 
方法摘要
 int getValue()
           
static Flags.SubclassesFlag valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static Flags.SubclassesFlag[] values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 
从类 java.lang.Enum 继承的方法
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
从类 java.lang.Object 继承的方法
getClass, notify, notifyAll, wait, wait, wait
 

枚举常量详细信息

wbemQueryFlagShallow

public static final Flags.SubclassesFlag wbemQueryFlagShallow
1(0x1): Forces the enumeration to include only immediate subclasses of the specified parent class.


wbemQueryFlagDeep

public static final Flags.SubclassesFlag wbemQueryFlagDeep
0(0x0): Default value for this parameter. This value forces the enumeration to include all classes in the hierarchy.


wbemFlagReturnImmediately

public static final Flags.SubclassesFlag wbemFlagReturnImmediately
16(0x10): Causes the call to return immediately.


wbemFlagReturnWhenComplete

public static final Flags.SubclassesFlag wbemFlagReturnWhenComplete
0(0x0): Causes this call to block until the query is complete. This flag calls the method in the synchronous mode.


wbemFlagUseAmendedQualifiers

public static final Flags.SubclassesFlag wbemFlagUseAmendedQualifiers
131072(0x20000): Causes WMI to return class amendment data with the base class definition.

方法详细信息

values

public static Flags.SubclassesFlag[] values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。该方法可用于迭代 常量,如下所示:
for (Flags.SubclassesFlag c : Flags.SubclassesFlag.values())
    System.out.println(c);


valueOf

public static Flags.SubclassesFlag valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格。)

参数:
name - 要返回的枚举常量的名称。
返回:
返回带有指定名称的枚举常量
抛出:
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentException

getValue

public int getValue()


Copyright © 2014. All rights reserved.