EntityDef 오브젝트에 정의되어 있는 조치 이름을 리턴합니다.
조치 목록은 특정 순서 없이 리턴됩니다. 찾고 있는 조치의 이름을 찾을 때까지 배열의 각 항목을 검토해야 합니다.
EntityDef 오브젝트의 다른 부분처럼, 관리자는 Rational ClearQuest Designer를 사용하여 정의된 조치를 설정합니다. API에서 직접 설정할 수 없습니다.
VBScript
set sessionObj = GetSession set entityDefObj = sessionObj.GetEntityDef(GetEntityDefName()) sessionObj.OutputDebugString "Action names for " & entityDefObj.GetName() nameList = entityDefObj.GetActionDefNames() For Each actionName in nameList sessionObj.OutputDebugString actionName Next
Perl
$sessionObj = $entity->GetSession(); $sessionObj->GetEntityDef($entity->GetEntityDefName()); $sessionObj->OutputDebugString("Action names for "$entityDefObj->GetName()); $nameList = $entityDefObj->GetActionDefNames(); foreach $actionName(@$nameList) { $sessionObj->OutputDebugString($actionName); }