public class RepositoryDef
extends java.lang.Object
RepositoryDef
defines a specific work item repository. It is the run time data structure for the RepositoryModel tag used in the connector model meta data XML file.
Constructor and Description |
---|
RepositoryDef() |
Modifier and Type | Method and Description |
---|---|
AlmResource |
getResource()
Deprecated.
please use getResource(WorkItemConnector) API instead.
|
AlmResource |
getResource(WorkItemConnector connector)
Retrieves the resource object used to get the localized strings
|
java.util.List<WorkItemQueryDef> |
getWorkItemDefs()
Retrieves all work items defined in the connector model meta data XML file
|
void |
release()
Release cached definitions
|
void |
setResource(AlmResource resource)
Sets the resource object to use to get the localized strings
|
public java.util.List<WorkItemQueryDef> getWorkItemDefs()
public void setResource(AlmResource resource)
resource
- handle to get localized stringspublic AlmResource getResource(WorkItemConnector connector)
connector
- The passing connector instance object.public AlmResource getResource()
public void release()