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

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

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

securityFlag parameter of SWbemLocator.connectServer() optional values;


枚举常量摘要
wbemConnectFlagUseMaxWait
          The connectServer() call is guaranteed to return in 2 minutes or less.
wbemConnectFlagWhenComplete
          A value of 0 for this parameter causes the call to connectServer() to return only after the connection to the server is established.
 
方法摘要
 int getValue()
           
static Flags.SecurityFlag valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static Flags.SecurityFlag[] values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 
从类 java.lang.Enum 继承的方法
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
从类 java.lang.Object 继承的方法
getClass, notify, notifyAll, wait, wait, wait
 

枚举常量详细信息

wbemConnectFlagWhenComplete

public static final Flags.SecurityFlag wbemConnectFlagWhenComplete
A value of 0 for this parameter causes the call to connectServer() to return only after the connection to the server is established. This could cause your program to stop responding indefinitely if the connection cannot be established.


wbemConnectFlagUseMaxWait

public static final Flags.SecurityFlag wbemConnectFlagUseMaxWait
The connectServer() call is guaranteed to return in 2 minutes or less. Use this flag to prevent your program from ceasing to respond indefinitely if the connection cannot be established.

方法详细信息

values

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


valueOf

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

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

getValue

public int getValue()


Copyright © 2014. All rights reserved.