public class ExecutionNode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
KIND_CONFIGURATIONSUITE
Predefined node type for a configuration suite in the execution tree.
|
static int |
KIND_EXECUTIONDEFINITION
Predefined node type for an execution plan in the execution tree.
|
static int |
KIND_FOLDER
Predefined node type for a folder node in the execution tree.
|
static int |
KIND_PROJECTROOT
Predefined node type for the root node in the execution tree.
|
static int |
KIND_TESTING_CYCLE
Predefined node type for a testing cycle in the execution tree.
|
| Constructor and Description |
|---|
ExecutionNode() |
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns the unique identifier of the
ExecutionNode. |
int |
getKind()
Returns the type of the
ExecutionNode. |
PropertyValue[] |
getPropertyValues()
Returns an array of all available
properties. |
void |
setId(int id)
Do not use setId for existing nodes! Use it only to create new nodes and always set the ID to -1.
|
void |
setKind(int kind)
Sets the type of the
ExecutionNode. |
void |
setPropertyValues(PropertyValue[] propertyValues)
Sets an array of properties for an
ExecutionNode. |
public static final int KIND_PROJECTROOT
public static final int KIND_FOLDER
public static final int KIND_EXECUTIONDEFINITION
public static final int KIND_CONFIGURATIONSUITE
public static final int KIND_TESTING_CYCLE
public int getKind()
ExecutionNode.public void setKind(int kind)
ExecutionNode. Be careful! Never create an ExecutionNode and set the type for a
root node.kind - use on of the following predefined node types:folderexecution planconfiguration suitepublic int getId()
ExecutionNode.public void setId(int id)
id - Identifier which was generated by storing this node to the database.public void setPropertyValues(PropertyValue[] propertyValues)
ExecutionNode. A list of available properties is
found with the service method ExecutionPlanningService.getPropertyIds(String, int).propertyValues - public PropertyValue[] getPropertyValues()
properties.PropertyValuesCopyright © Micro Focus 2004-2019. All rights reserved.