public class PlanningNode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
KIND_FOLDER |
static int |
KIND_FOLDER_LINKED |
static int |
KIND_TEST_CONTAINER |
static int |
KIND_TEST_CONTAINER_LINKED |
static int |
KIND_TEST_DEFINITION_LINKED |
static int |
KIND_TEST_DEFINTION |
| Constructor and Description |
|---|
PlanningNode()
Creates a new planning node object
|
PlanningNode(int id,
java.lang.String name,
java.lang.String description,
int kind)
For internal usage only
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the description of the planning node
|
int |
getId()
Gets the Id of the planning node
|
int |
getKind()
Gets the kind of the planning node
A test planning node may either be:
KIND_TEST_CONTAINER (1), KIND_FOLDER (2), KIND_TEST_DEFINTION (3),KIND_TEST_CONTAINER_LINKED (4),KIND_FOLDER_LINKED (5),KIND_TEST_DEFINITION_LINKED (6) |
java.lang.String |
getName()
Gets the name of the planning node
|
PropertyValue[] |
getPropertyValues()
Gets a list of property values for the planning node
|
void |
setDescription(java.lang.String description)
Sets the description of the planning node
|
void |
setId(int id)
Sets the Id of the planning node
|
void |
setKind(int kind)
Sets the kind of the planning node.
|
void |
setName(java.lang.String name)
Sets the name of the planning node
|
void |
setPropertyValues(PropertyValue[] propertyValues)
Sets a list of property values for the planning node
|
public static final int KIND_TEST_CONTAINER
public static final int KIND_FOLDER
public static final int KIND_TEST_DEFINTION
public static final int KIND_TEST_CONTAINER_LINKED
public static final int KIND_FOLDER_LINKED
public static final int KIND_TEST_DEFINITION_LINKED
public PlanningNode()
public PlanningNode(int id,
java.lang.String name,
java.lang.String description,
int kind)
id - -1, if it's a new nodename - name of the planning nodedescription - description of the planning nodekind - KIND_TEST_CONTAINER, KIND_FOLDER or KIND_TEST_DEFINTIONpublic int getKind()
KIND_TEST_CONTAINER (1), KIND_FOLDER (2), KIND_TEST_DEFINTION (3),KIND_TEST_CONTAINER_LINKED (4),KIND_FOLDER_LINKED (5),KIND_TEST_DEFINITION_LINKED (6)public void setKind(int kind)
KIND_TEST_CONTAINER (1), KIND_FOLDER (2), KIND_TEST_DEFINTION (3),KIND_TEST_CONTAINER_LINKED (4),KIND_FOLDER_LINKED (5),KIND_TEST_DEFINITION_LINKED (6)kind - public PropertyValue[] getPropertyValues()
public java.lang.String getName()
public java.lang.String getDescription()
public int getId()
public void setName(java.lang.String name)
name - public void setDescription(java.lang.String description)
description - public void setId(int id)
id - public void setPropertyValues(PropertyValue[] propertyValues)
Copyright © Micro Focus 2004-2019. All rights reserved.