Utility methods for soapui model-related interfaces
| Modifiers | Name | Description |
|---|---|---|
static class |
ModelSupport.InterfaceTypeFilter |
|
interface |
ModelSupport.ModelItemFilter |
|
interface |
ModelSupport.ModelItemVisitor |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
addClonedModelItemId(java.lang.String sourceId, java.lang.String targetId)Add ids of model items to the cloning context |
|
static void |
createNewIds(AbstractWsdlModelItem<?> modelItem) |
|
static boolean |
dependsOn(ModelItem source, ModelItem target) |
<T extends ModelItem> |
static T |
findModelItemById(java.util.Collection<T> items, java.lang.String modelItemId) |
<T extends ModelItem> |
static T |
findModelItemById(java.util.Collection<T> items, java.util.UUID modelItemId) |
<T extends ModelItem> |
static T |
findModelItemById(java.lang.String id, ModelItem root) |
<T extends ModelItem> |
static T |
findModelItemByName(java.util.Collection<T> items, java.lang.String name) |
|
static void |
finishCloning()Destroys a context for model item ids that can be changed during cloning between projects |
|
static java.lang.String |
generateModelItemID() |
<T extends ModelItem> |
static java.util.List<T> |
getChildren(ModelItem modelItem, java.lang.Class<T> childType, boolean deep) |
<T extends ModelItem> |
static java.util.List<T> |
getChildren(ModelItem modelItem, java.lang.Class<T> childType) |
|
static java.lang.String |
getClonedModelItemId(java.lang.String sourceId)Given an id that the model item had in the source project, returns an id of this model item in the target project |
<T extends Project> |
static T |
getModelItemProject(ModelItem modelItem) |
|
static TestCase |
getModelItemTestCase(ModelItem modelItem) |
|
static TestSuite |
getModelItemTestSuite(ModelItem modelItem) |
<T extends ModelItem> |
static java.lang.String[] |
getNames(java.util.List<T> list) |
<T extends ModelItem> |
static java.lang.String[] |
getNames(java.util.List<T> list, ModelItemFilter<T> filter) |
|
static java.lang.String[] |
getNames(java.lang.String[] firstItems, java.util.Collection<? extends ModelItem> list) |
|
static java.lang.String[] |
getNames(java.util.Collection<? extends ModelItem> list, java.lang.String[] lastItems) |
|
static ModelItem |
getNonVirtualModelItem(ModelItem modelItem) |
|
static java.lang.String |
getResourceRoot(AbstractWsdlModelItem<?> testStep) |
<T extends Project> |
static T |
getSelectedProject() |
|
static boolean |
isOneOf(java.lang.Class modelItemClass, java.lang.Class<?>... classes) |
|
static boolean |
isOneOf(ModelItem modelItem, java.lang.Class<?>... classes) |
|
static boolean |
isParentOf(ModelItem assumedParent, ModelItem assumedChild) |
|
static boolean |
sameProject(Project project, ModelItem modelItem) |
|
static void |
startCloning()Creates a context for model items ids that can be changed during cloning between projects |
|
static void |
unsetIds(AbstractWsdlModelItem<?>[] modelItems) |
<T> |
static void |
walkModelItemTree(ModelItem modelItem, ModelItemVisitor<T> modelItemVisitor, java.lang.Class<? extends T> clazz) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Add ids of model items to the cloning context
sourceId - id of the model item in the source projecttargetId - id of the model item in the target projectDestroys a context for model item ids that can be changed during cloning between projects
Given an id that the model item had in the source project, returns an id of this model item in the target project
sourceId - id of the model item in the source projectCreates a context for model items ids that can be changed during cloning between projects