public interface Validator extends TaggedObject
Validator
.
ValidationManager.createValidator(java.lang.String)
Modifier and Type | Method and Description |
---|---|
void |
appendCheckerNode(String className)
Adds a checker node.
|
void |
appendCheckerNodes(String[] classNames)
Adds checker nodes.
|
void |
appendPartNode(Part partObject)
Adds part node by part object
License requirements: None. |
void |
appendPartNode(String fileName)
Adds part node by part file name
License requirements: None. |
void |
appendPartNodes(Part[] partObject)
Adds part nodes by part objects
License requirements: None. |
void |
appendPartNodes(String[] fileNames)
Adds part nodes by part file names
License requirements: None. |
void |
clearCheckerNodes()
Clears checker nodes
License requirements: ug_checkmate ("UG Check Mate") . |
void |
clearPartNodes()
Clears part nodes
License requirements: None. |
Validation.Result |
commit()
Runs checking process and returns the checking status.
|
void |
eraseCheckerNode(int delNdx)
Removes a checker node.
|
void |
erasePartNode(int index)
Removes a part node
License requirements: None. |
CheckerNode |
findCheckerNode(int index)
Returns a checker node.
|
PartNode |
findPartNode(int index)
Finds a part node
License requirements: None. |
CheckerNode[] |
getCheckerNodes()
Returns all checker nodes.
|
ErrorList |
getLastErrorListFromCommit()
Return the list of errors happened during last
commit() . |
PartNode[] |
getPartNodes()
Returns all part nodes.
|
ValidatorOptions |
validatorOptions()
Returns the run options.
|
printTestData, printTestData, tag, tagValue
Validation.Result commit() throws NXException, RemoteException
Validation.Result.FAILED
.
Otherwise it will return Validation.Result.PASS
.
Call getLastErrorListFromCommit()
for the execeptions happened during the checking process.
NXException
RemoteException
ErrorList getLastErrorListFromCommit() throws NXException, RemoteException
commit()
.
NXException
RemoteException
void appendPartNode(String fileName) throws NXException, RemoteException
fileName
- NXException
RemoteException
void appendPartNode(Part partObject) throws NXException, RemoteException
partObject
- NXException
RemoteException
void appendPartNodes(String[] fileNames) throws NXException, RemoteException
fileNames
- NXException
RemoteException
void appendPartNodes(Part[] partObject) throws NXException, RemoteException
partObject
- NXException
RemoteException
void erasePartNode(int index) throws NXException, RemoteException
index
- NXException
RemoteException
void clearPartNodes() throws NXException, RemoteException
NXException
RemoteException
PartNode findPartNode(int index) throws NXException, RemoteException
index
- NXException
RemoteException
PartNode[] getPartNodes() throws NXException, RemoteException
NXException
RemoteException
void appendCheckerNode(String className) throws NXException, RemoteException
className
- checker class nameNXException
RemoteException
void appendCheckerNodes(String[] classNames) throws NXException, RemoteException
classNames
- checkers' class name arrayNXException
RemoteException
void eraseCheckerNode(int delNdx) throws NXException, RemoteException
delNdx
- NXException
RemoteException
void clearCheckerNodes() throws NXException, RemoteException
NXException
RemoteException
CheckerNode findCheckerNode(int index) throws NXException, RemoteException
index
- NXException
RemoteException
CheckerNode[] getCheckerNodes() throws NXException, RemoteException
NXException
RemoteException
ValidatorOptions validatorOptions() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.