com.microsoft.tfs.core.clients.build.soapextensions
Class QueuePriority

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
          extended by com.microsoft.tfs.core.clients.build.soapextensions.QueuePriority
All Implemented Interfaces:
java.lang.Comparable<QueuePriority>

public class QueuePriority
extends com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
implements java.lang.Comparable<QueuePriority>

Describes priority in queue.

Since:
TEE-SDK-10.1

Field Summary
static QueuePriority ABOVE_NORMAL
           
static QueuePriority BELOW_NORMAL
           
static QueuePriority HIGH
           
static QueuePriority LOW
           
static QueuePriority NORMAL
           
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Method Summary
 int compareTo(QueuePriority other)
           
 boolean equals(java.lang.Object o)
           
static QueuePriority fromDisplayText(java.lang.String displayText)
          Gets the correct wrapper type for the given display text.
static QueuePriority fromWebServiceObject(ms.tfs.build.buildservice._04._QueuePriority webServiceObject)
          Gets the correct wrapper type for the given web service object.
 java.lang.String getDisplayText()
           
 ms.tfs.build.buildservice._04._QueuePriority getWebServiceObject()
          Gets the web service object this class wraps.
 int hashCode()
           
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
fromWebServiceObject
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LOW

public static final QueuePriority LOW

BELOW_NORMAL

public static final QueuePriority BELOW_NORMAL

NORMAL

public static final QueuePriority NORMAL

ABOVE_NORMAL

public static final QueuePriority ABOVE_NORMAL

HIGH

public static final QueuePriority HIGH
Method Detail

fromWebServiceObject

public static QueuePriority fromWebServiceObject(ms.tfs.build.buildservice._04._QueuePriority webServiceObject)
Gets the correct wrapper type for the given web service object.

Parameters:
webServiceObject - the web service object (must not be null)
Returns:
the correct wrapper type for the given web service object
Throws:
java.lang.RuntimeException - if no wrapper type is known for the given web service object

getWebServiceObject

public ms.tfs.build.buildservice._04._QueuePriority getWebServiceObject()
Gets the web service object this class wraps. The returned object should not be modified.

Returns:
the web service object this class wraps.

fromDisplayText

public static QueuePriority fromDisplayText(java.lang.String displayText)
Gets the correct wrapper type for the given display text.

Parameters:
displayText - the display text to match (must not be null)
Returns:
the correct wrapper type

getDisplayText

public java.lang.String getDisplayText()
Returns:
The human readable text corresponding to this queue priority.

compareTo

public int compareTo(QueuePriority other)
Specified by:
compareTo in interface java.lang.Comparable<QueuePriority>

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper

hashCode

public int hashCode()
Overrides:
hashCode in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper


© 2015 Microsoft. All rights reserved.