public static enum ExtDocumentTreeNode.TreeNodeKey extends Enum<ExtDocumentTreeNode.TreeNodeKey>
ExtDocumentTreeNode.buildTreeNodeId(TreeNodeKey, Object...)
, which concatenates a
getKey()
with ExtDocumentTreeNode.TREE_KEY_SEPARATOR
, followed by an id.Modifier and Type | Method and Description |
---|---|
char |
getKey()
Obtains the unique character key for this
ExtDocumentTreeNode.TreeNodeKey |
Integer |
getScopeId() |
boolean |
matchesNodeId(String nodeId) |
static ExtDocumentTreeNode.TreeNodeKey |
obtainKey(char key)
Finds a matching
ExtDocumentTreeNode.TreeNodeKey for the given key. |
static ExtDocumentTreeNode.TreeNodeKey |
obtainKey(String nodeIdString)
Finds a matching
ExtDocumentTreeNode.TreeNodeKey for the node id string (such as a-5, or p-12, etc). |
static ExtDocumentTreeNode.TreeNodeKey |
obtainKeyForScope(Integer scope,
ExtDocumentTreeNode.TreeNodeCategory category) |
static ExtDocumentTreeNode.TreeNodeKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtDocumentTreeNode.TreeNodeKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtDocumentTreeNode.TreeNodeKey ORGANIZATION
public static final ExtDocumentTreeNode.TreeNodeKey PROJECT
public static final ExtDocumentTreeNode.TreeNodeKey DOCUMENT_TYPE
public static final ExtDocumentTreeNode.TreeNodeKey GROUP
public static final ExtDocumentTreeNode.TreeNodeKey DOCUMENT
public static final ExtDocumentTreeNode.TreeNodeKey RELATIONSHIP_DOCUMENT
public static final ExtDocumentTreeNode.TreeNodeKey USER
public static final ExtDocumentTreeNode.TreeNodeKey BASELINE_PROJECT
public static final ExtDocumentTreeNode.TreeNodeKey BASELINE_GROUP
public static final ExtDocumentTreeNode.TreeNodeKey TEST_PROJECT
public static final ExtDocumentTreeNode.TreeNodeKey TEST_PLAN
public static final ExtDocumentTreeNode.TreeNodeKey TEST_SET
public static final ExtDocumentTreeNode.TreeNodeKey TEST_CYCLE
public static final ExtDocumentTreeNode.TreeNodeKey TEST_RUN
public static final ExtDocumentTreeNode.TreeNodeKey BASELINE
public static final ExtDocumentTreeNode.TreeNodeKey DISTRIBUTION_GROUP_ROOT
public static final ExtDocumentTreeNode.TreeNodeKey NOTIFICATION_GROUP_ROOT
public static final ExtDocumentTreeNode.TreeNodeKey MODULE_TREE_ORGANIZATION_ROOT
public static final ExtDocumentTreeNode.TreeNodeKey RELEASE_TREE_PROJECT
public static final ExtDocumentTreeNode.TreeNodeKey RELEASE
public static final ExtDocumentTreeNode.TreeNodeKey RELEASE_TYPE
public static final ExtDocumentTreeNode.TreeNodeKey RELEASE_DOCUMENT
public static final ExtDocumentTreeNode.TreeNodeKey RELATIONSHIP_DOCUMENT_TYPE
public static final ExtDocumentTreeNode.TreeNodeKey ALL_SYNC_PROJECT
public static final ExtDocumentTreeNode.TreeNodeKey OUT_OF_SYNC_PROJECT
public static final ExtDocumentTreeNode.TreeNodeKey RECENTLY_VIEWED_PROJECT_GROUP
public static final ExtDocumentTreeNode.TreeNodeKey RECENTLY_VIEWED_PROJECT
public static ExtDocumentTreeNode.TreeNodeKey[] values()
for (ExtDocumentTreeNode.TreeNodeKey c : ExtDocumentTreeNode.TreeNodeKey.values()) System.out.println(c);
public static ExtDocumentTreeNode.TreeNodeKey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic char getKey()
ExtDocumentTreeNode.TreeNodeKey
public Integer getScopeId()
Scope
integer that applies to this TreeNodeKey, if one is mapped.public boolean matchesNodeId(String nodeId)
public static ExtDocumentTreeNode.TreeNodeKey obtainKey(char key)
ExtDocumentTreeNode.TreeNodeKey
for the given key.key
- A ExtDocumentTreeNode.TreeNodeKey
keyExtDocumentTreeNode.TreeNodeKey
, or nullpublic static ExtDocumentTreeNode.TreeNodeKey obtainKey(String nodeIdString)
ExtDocumentTreeNode.TreeNodeKey
for the node id string (such as a-5, or p-12, etc).nodeIdString
- The node id stringExtDocumentTreeNode.TreeNodeKey
, or nullpublic static ExtDocumentTreeNode.TreeNodeKey obtainKeyForScope(Integer scope, ExtDocumentTreeNode.TreeNodeCategory category)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.