|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryDefinition
Represents a stored query definition in the query hierarchy.
Method Summary | |
---|---|
java.lang.String |
getOriginalQueryText()
Returns the original WIQL query text for this query definition as it was loaded from the server, before any unsaved modifications. |
java.lang.String |
getQueryText()
Returns the WIQL query text for this query definition. |
QueryType |
getQueryType()
Returns the hierarchical return type of this query. |
void |
setQueryText(java.lang.String queryText)
Sets the WIQL query text for this query definition. |
Methods inherited from interface com.microsoft.tfs.core.clients.workitem.queryhierarchy.QueryItem |
---|
delete, getID, getName, getOriginalName, getOriginalOwnerDescriptor, getOriginalParent, getOwnerDescriptor, getParent, getProject, getType, isDeleted, isDirty, isNew, isPersonal, setName, setOwnerDescriptor |
Method Detail |
---|
java.lang.String getQueryText()
null
.java.lang.String getOriginalQueryText()
null
.void setQueryText(java.lang.String queryText) throws InvalidQueryTextException
queryText
- The WIQL query text for this query definition (not
null
or empty).
WorkItemException
- If this query definition has been deleted.
InvalidQueryTextException
- If the specified WIQL is not valid.QueryType getQueryType()
QueryType
of this query.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |