com.microsoft.tfs.core.clients.workitem.query.qe
Class WIQLHelpers

java.lang.Object
  extended by com.microsoft.tfs.core.clients.workitem.query.qe.WIQLHelpers

public abstract class WIQLHelpers
extends java.lang.Object

Helpers for interacting with OM / Work Item Query Language


Constructor Summary
WIQLHelpers()
           
 
Method Summary
static java.lang.String getDoubleQuotedValue(java.lang.String value)
          Encloses the value in double quotations.
static java.lang.String getEnclosedField(java.lang.String value)
          Encloses the value in square brackets.
static java.lang.String getEscapedSingleQuotedValue(java.lang.String value)
          Put the specified String in quotes, escaping internal single-quotes.
static java.util.Map<java.lang.String,java.lang.String> getParameterDictionary(java.lang.String projectName)
           
static java.lang.String getSingleQuotedValue(java.lang.String value)
          Encloses the value in single quotations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WIQLHelpers

public WIQLHelpers()
Method Detail

getParameterDictionary

public static java.util.Map<java.lang.String,java.lang.String> getParameterDictionary(java.lang.String projectName)

getEscapedSingleQuotedValue

public static java.lang.String getEscapedSingleQuotedValue(java.lang.String value)
Put the specified String in quotes, escaping internal single-quotes.


getSingleQuotedValue

public static java.lang.String getSingleQuotedValue(java.lang.String value)
Encloses the value in single quotations.


getDoubleQuotedValue

public static java.lang.String getDoubleQuotedValue(java.lang.String value)
Encloses the value in double quotations.


getEnclosedField

public static java.lang.String getEnclosedField(java.lang.String value)
Encloses the value in square brackets.



© 2015 Microsoft. All rights reserved.