Drools :: Eclipse :: Guvnor tools 6.2.0.Beta3

org.guvnor.tools.views.model
Enum TreeObject.Type

java.lang.Object
  extended by java.lang.Enum<TreeObject.Type>
      extended by org.guvnor.tools.views.model.TreeObject.Type
All Implemented Interfaces:
Serializable, Comparable<TreeObject.Type>
Enclosing class:
TreeObject

public static enum TreeObject.Type
extends Enum<TreeObject.Type>


Enum Constant Summary
GLOBALS
           
NONE
           
PACKAGE
           
PACKAGES
           
REPOSITORY
           
RESOURCE
           
SNAPSHOT
           
SNAPSHOT_PACKAGE
           
SNAPSHOTS
           
 
Method Summary
static TreeObject.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TreeObject.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final TreeObject.Type NONE

REPOSITORY

public static final TreeObject.Type REPOSITORY

GLOBALS

public static final TreeObject.Type GLOBALS

PACKAGES

public static final TreeObject.Type PACKAGES

SNAPSHOTS

public static final TreeObject.Type SNAPSHOTS

PACKAGE

public static final TreeObject.Type PACKAGE

SNAPSHOT_PACKAGE

public static final TreeObject.Type SNAPSHOT_PACKAGE

SNAPSHOT

public static final TreeObject.Type SNAPSHOT

RESOURCE

public static final TreeObject.Type RESOURCE
Method Detail

values

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

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

valueOf

public static TreeObject.Type 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
NullPointerException - if the argument is null

Drools :: Eclipse :: Guvnor tools 6.2.0.Beta3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.