filenet.vw.api
Class VWNodeType
- java.lang.Object
-
- filenet.vw.api.VWNodeType
-
public final class VWNodeType extends java.lang.ObjectUse this class to classify the nodes on a map into the following categories:- Launch
- Start
- Other
-
-
Field Summary
Fields Modifier and Type Field and Description static intNODE_TYPE_LAUNCHValue of 1
The node is a launch node, which is the first step in the main workflow definition map, which is called "Workflow".static intNODE_TYPE_OTHERValue of 3
The node is neither a start nor a launch node.static intNODE_TYPE_STARTValue of 2
The node is a start node, which is the first step in any workflow definition map other than the main map.
-
Constructor Summary
Constructors Constructor and Description VWNodeType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.StringgetLocalizedString(int theNodeType)Get a localized String representation of the node type.static booleanisValid(int theNodeType)Returns whether or not the node type is valid.
-
-
-
Field Detail
-
NODE_TYPE_LAUNCH
public static final int NODE_TYPE_LAUNCH
Value of 1
The node is a launch node, which is the first step in the main workflow definition map, which is called "Workflow".- See Also:
- Constant Field Values
-
NODE_TYPE_START
public static final int NODE_TYPE_START
Value of 2
The node is a start node, which is the first step in any workflow definition map other than the main map.- See Also:
- Constant Field Values
-
NODE_TYPE_OTHER
public static final int NODE_TYPE_OTHER
Value of 3
The node is neither a start nor a launch node.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLocalizedString
public static java.lang.String getLocalizedString(int theNodeType) throws VWExceptionGet a localized String representation of the node type.- Parameters:
theNodeType- Node type value to be represented by a string- Returns:
- A localized string, representing the node type
- Throws:
VWException- Thrown if the node type is invalid.
-
isValid
public static boolean isValid(int theNodeType)
Returns whether or not the node type is valid.- Parameters:
theNodeType- The node type value to be validated.- Returns:
- A boolean value:
trueif theNodeType input parameter is valid,falseotherwise
-
-