com.microsoft.tfs.core.pendingcheckin
Interface PendingCheckinPolicies

All Known Implementing Classes:
StandardPendingCheckinPolicies

public interface PendingCheckinPolicies

Evaluates the contents of the containing PendingCheckin.

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

Method Summary
 PolicyFailure[] evaluate(PolicyContext policyContext)
          Evaluates checkin policies.
 PolicyEvaluatorState getPolicyEvaluatorState()
           
 

Method Detail

evaluate

PolicyFailure[] evaluate(PolicyContext policyContext)
                         throws PolicyEvaluationCancelledException
Evaluates checkin policies.

Parameters:
policyContext - contextual settings that may include information about the user interface, etc. (must not be null)
Returns:
any failures detected.
Throws:
PolicyEvaluationCancelledException - if the user canceled the policy evaluation.

getPolicyEvaluatorState

PolicyEvaluatorState getPolicyEvaluatorState()
Returns:
the state of a policy evaluator.


© 2015 Microsoft. All rights reserved.