|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PolicyContext | |
---|---|
com.microsoft.tfs.core.checkinpolicies | |
com.microsoft.tfs.core.clients.versioncontrol.soapextensions | |
com.microsoft.tfs.core.pendingcheckin |
Uses of PolicyContext in com.microsoft.tfs.core.checkinpolicies |
---|
Methods in com.microsoft.tfs.core.checkinpolicies that return PolicyContext | |
---|---|
PolicyContext |
PolicyEditArgs.getContext()
|
Methods in com.microsoft.tfs.core.checkinpolicies with parameters of type PolicyContext | |
---|---|
void |
PolicyInstance.activate(PolicyFailure failure,
PolicyContext context)
Called when the user activates (by double-clicking or some other user interface) a failure generated by a previous call to PolicyInstance.evaluate(PolicyContext) . |
void |
PolicyBase.activate(PolicyFailure failure,
PolicyContext context)
Called when the user activates (by double-clicking or some other user interface) a failure generated by a previous call to PolicyInstance.evaluate(PolicyContext) . |
void |
PolicyInstance.displayHelp(PolicyFailure failure,
PolicyContext context)
Shows help about the given failure if it was selected for help in the user interface. |
void |
PolicyBase.displayHelp(PolicyFailure failure,
PolicyContext context)
Shows help about the given failure if it was selected for help in the user interface. |
PolicyFailure[] |
PolicyInstance.evaluate(PolicyContext context)
Evaluates the pending checkin for policy compliance and returns any failures encountered. |
PolicyFailure[] |
PolicyEvaluator.evaluate(PolicyContext policyContext)
Evaluates checkin policies. |
void |
PolicyEvaluationStatus.evaluate(PolicyContext policyContext)
Evaluates the policy instance in this status. |
abstract PolicyFailure[] |
PolicyBase.evaluate(PolicyContext context)
Evaluates the pending checkin for policy compliance and returns any failures encountered. |
void |
PolicyInstance.initialize(PendingCheckin pendingCheckin,
PolicyContext context)
Prepares a PolicyInstance for policy evaluation. |
void |
PolicyEvaluationStatus.initialize(PendingCheckin pendingCheckin,
PolicyContext context)
Initializes (or re-initializes) the evaluatable policy instance. |
void |
PolicyBase.initialize(PendingCheckin pendingCheckin,
PolicyContext context)
Prepares a PolicyInstance for policy evaluation. |
PolicyFailure[] |
PolicyEvaluator.reloadAndEvaluate(PolicyContext policyContext)
Reloads all policy definitions from the server and evaluates all policies via PolicyEvaluator.evaluate(PolicyContext) . |
Constructors in com.microsoft.tfs.core.checkinpolicies with parameters of type PolicyContext | |
---|---|
PolicyExceptionFailure(PolicyInstance policy,
PolicyContext context,
java.lang.Exception exception)
Creates a PolicyExceptionFailure |
Uses of PolicyContext in com.microsoft.tfs.core.clients.versioncontrol.soapextensions |
---|
Methods in com.microsoft.tfs.core.clients.versioncontrol.soapextensions with parameters of type PolicyContext | |
---|---|
CheckinEvaluationResult |
Workspace.evaluateCheckIn(CheckinEvaluationOptions options,
PendingChange[] allChanges,
PendingChange[] changesToCheckin,
java.lang.String comment,
CheckinNote checkinNotes,
WorkItemCheckinInfo[] workItemChanges,
PolicyEvaluator policyEvaluator,
PolicyContext policyContext)
Checks for required checkin notes and evaluates the given changes against defined checkin policies before they are sent to the server for check-in. |
CheckinEvaluationResult |
Workspace.evaluateCheckIn(CheckinEvaluationOptions options,
PendingCheckin pendingCheckin,
PolicyContext policyContext)
Checks for required checkin notes and evaluates the given changes against defined checkin policies before they are sent to the server for check-in. |
Uses of PolicyContext in com.microsoft.tfs.core.pendingcheckin |
---|
Methods in com.microsoft.tfs.core.pendingcheckin with parameters of type PolicyContext | |
---|---|
PolicyFailure[] |
StandardPendingCheckinPolicies.evaluate(PolicyContext policyContext)
Evaluates checkin policies. |
PolicyFailure[] |
PendingCheckinPolicies.evaluate(PolicyContext policyContext)
Evaluates checkin policies. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |