com.microsoft.tfs.core.clients.framework.location
Class RelativeToSetting

java.lang.Object
  extended by com.microsoft.tfs.core.clients.framework.location.RelativeToSetting

public class RelativeToSetting
extends java.lang.Object

Enumeration indicating what a given ServiceDefinition is relative to.

Since:
TEE-SDK-10.1
Thread-safety:
thread-safe

Field Summary
static RelativeToSetting AUTHORITY
          Indicates that a service definition is relative to the authority of the access point.
static RelativeToSetting CONTEXT
          Indicates that a service definition is relative to the current context.
static RelativeToSetting FULLY_QUALIFIED
          Indicates that a ServiceDefinition isn't relative to anything.
static RelativeToSetting PORT
          Indicates that a ServiceDefinition is relative to the authority and port of the access point.
static RelativeToSetting WEB_APPLICATION
          Indicates that a ServiceDefinition is relative to the web application.
 
Method Summary
static RelativeToSetting intToRelativeToSetting(int value)
           
 int toInt()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTEXT

public static final RelativeToSetting CONTEXT
Indicates that a service definition is relative to the current context. The current context refers to the relative path of the collection or application that the ServiceDefinition belongs to. For a ServiceDefinition have a RelativeToSetting of Context its RelativePath property must not null or empty.


AUTHORITY

public static final RelativeToSetting AUTHORITY
Indicates that a service definition is relative to the authority of the access point. For a ServiceDefinition to have a RelativeToSetting of Authority its RelativePath property must not be null or empty.


WEB_APPLICATION

public static final RelativeToSetting WEB_APPLICATION
Indicates that a ServiceDefinition is relative to the web application. For a ServiceDefinition to have a RelativeToSetting of WebApplication its RelativePath property must not be null or empty.


FULLY_QUALIFIED

public static final RelativeToSetting FULLY_QUALIFIED
Indicates that a ServiceDefinition isn't relative to anything. For a ServiceDefinition to have a RelativeToSetting of FullyQualified its RelativePath property must be null.


PORT

public static final RelativeToSetting PORT
Indicates that a ServiceDefinition is relative to the authority and port of the access point. For a ServiceDefinition to have a RelativeToSetting of Port its RelativePath property must not be null or empty.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toInt

public int toInt()

intToRelativeToSetting

public static RelativeToSetting intToRelativeToSetting(int value)


© 2015 Microsoft. All rights reserved.