com.microsoft.tfs.core.checkinpolicies
Class PolicyContextKeys

java.lang.Object
  extended by com.microsoft.tfs.core.checkinpolicies.PolicyContextKeys

public class PolicyContextKeys
extends java.lang.Object

PolicyContextKeys defines constant policy context property keys that are used by the Plug-in for Eclipse and stand-alone Explorer to pass information to policy implementations during evaluation.

Since:
TEE-SDK-10.1
Thread-safety:
immutable

Field Summary
static java.lang.String CHECKIN_CONTROL
          Deprecated. 
static java.lang.String PENDING_CHANGES_CONTROL
          Deprecated. TEE 10.0 no longer uses this control, so it is not initialized in PolicyContexts. Use the control returned by the CHECKIN_CONTROL key instead.
static java.lang.String RUNNING_PRODUCT_CLC
          This key identifies a property whose value is an object (must not be null) when the policy framework is running in the Command Line Client (CLC).
static java.lang.String RUNNING_PRODUCT_ECLIPSE_PLUGIN
          This key identifies a property whose value is an Object (must not be null) when the policy framework is running in the Plug-in for Eclipse.
static java.lang.String RUNNING_PRODUCT_EXPLORER
          This key identifies a property whose value is an object (must not be null) when the policy framework is running in the stand-alone Team Explorer.
static java.lang.String SWT_SHELL
          This key identifies a property whose value is a SWT Shell object.
static java.lang.String TASK_MONITOR
          This key identifies a property whose value is a com.microsoft.tfs.util.tasks.TaskMonitor when the policy framework is running where a task monitor is appropriate.
static java.lang.String TFS_TEAM_PROJECT_COLLECTION
          This key identifies a property whose value is a com.microsoft.tfs.core.TFSTeamProjectCollection.
 
Constructor Summary
PolicyContextKeys()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SWT_SHELL

public static final java.lang.String SWT_SHELL
This key identifies a property whose value is a SWT Shell object.

Constant Field Value:
"SWT_SHELL"
See Also:
Constant Field Values

PENDING_CHANGES_CONTROL

@Deprecated
public static final java.lang.String PENDING_CHANGES_CONTROL
Deprecated. TEE 10.0 no longer uses this control, so it is not initialized in PolicyContexts. Use the control returned by the CHECKIN_CONTROL key instead.
This key identifies a property whose value is a PendingChanges control.

Constant Field Value:
"PENDING_CHANGES_CONTROL"
See Also:
CHECKIN_CONTROL, Constant Field Values

CHECKIN_CONTROL

@Deprecated
public static final java.lang.String CHECKIN_CONTROL
Deprecated. 
This key identifies a property whose value is a com.microsoft.tfs.client.common.ui.controls.vc.checkin.CheckinControl control.

Constant Field Value:
"CHECKIN_CONTROL"
See Also:
Constant Field Values

RUNNING_PRODUCT_ECLIPSE_PLUGIN

public static final java.lang.String RUNNING_PRODUCT_ECLIPSE_PLUGIN
This key identifies a property whose value is an Object (must not be null) when the policy framework is running in the Plug-in for Eclipse. It is not set when the framework runs in other products.

Constant Field Value:
"RUNNING_PRODUCT_ECLIPSE_PLUGIN"
See Also:
Constant Field Values

RUNNING_PRODUCT_EXPLORER

public static final java.lang.String RUNNING_PRODUCT_EXPLORER
This key identifies a property whose value is an object (must not be null) when the policy framework is running in the stand-alone Team Explorer. It is not set when the framework runs in other products.

Constant Field Value:
"RUNNING_PRODUCT_EXPLORER"
See Also:
Constant Field Values

RUNNING_PRODUCT_CLC

public static final java.lang.String RUNNING_PRODUCT_CLC
This key identifies a property whose value is an object (must not be null) when the policy framework is running in the Command Line Client (CLC). It is not set when the framework runs in other products.

Constant Field Value:
"RUNNING_PRODUCT_CLC"
See Also:
Constant Field Values

TASK_MONITOR

public static final java.lang.String TASK_MONITOR
This key identifies a property whose value is a com.microsoft.tfs.util.tasks.TaskMonitor when the policy framework is running where a task monitor is appropriate.

Constant Field Value:
"TASK_MONITOR"
See Also:
Constant Field Values

TFS_TEAM_PROJECT_COLLECTION

public static final java.lang.String TFS_TEAM_PROJECT_COLLECTION
This key identifies a property whose value is a com.microsoft.tfs.core.TFSTeamProjectCollection.

Constant Field Value:
"TFS_TEAM_PROJECT_COLLECTION"
See Also:
Constant Field Values
Constructor Detail

PolicyContextKeys

public PolicyContextKeys()


© 2015 Microsoft. All rights reserved.