org.netbeans.modules.cnd.api.model/1 1.3 1

org.netbeans.modules.cnd.api.model
Enum CsmModelState

java.lang.Object
  
extended by java.lang.Enum<CsmModelState> extended by org.netbeans.modules.cnd.api.model.CsmModelState
All Implemented Interfaces:
Serializable, Comparable<CsmModelState>

public enum CsmModelState
extends Enum<CsmModelState>

Represents the state of the code model.


Enum Constant Summary
CLOSING
          Code model is swithing off
OFF
          Code model is switched off
ON
          Code model is up and running
SUSPENDED
          Code model is suspended: no new source files being processed
UNLOADED
          Code model implementation is unloaded
 
Method Summary
static CsmModelState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CsmModelState[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ON

public static final CsmModelState ON
Code model is up and running


CLOSING

public static final CsmModelState CLOSING
Code model is swithing off


OFF

public static final CsmModelState OFF
Code model is switched off


SUSPENDED

public static final CsmModelState SUSPENDED
Code model is suspended: no new source files being processed


UNLOADED

public static final CsmModelState UNLOADED
Code model implementation is unloaded

Method Detail

values

public static final CsmModelState[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CsmModelState c : CsmModelState.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static CsmModelState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name

org.netbeans.modules.cnd.api.model/1 1.3 1

Built on November 23 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 194 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close