com.microsoft.tfs.core.externaltools.validators
Class CompareToolValidator

java.lang.Object
  extended by com.microsoft.tfs.core.externaltools.validators.AbstractToolValidator
      extended by com.microsoft.tfs.core.externaltools.validators.CompareToolValidator
All Implemented Interfaces:
ExternalToolValidator

public final class CompareToolValidator
extends AbstractToolValidator

Validates arguments for compare tools.

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

Constructor Summary
CompareToolValidator()
           
 
Method Summary
protected  java.lang.String[] getForbiddenSubstitutions()
          Gets the substitution strings which are not allowed in arguments for this external tool.
protected  java.lang.String[] getRequiredSubstitutions()
          Gets the substitution strings which are not required in arguments for this external tool.
 
Methods inherited from class com.microsoft.tfs.core.externaltools.validators.AbstractToolValidator
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompareToolValidator

public CompareToolValidator()
Method Detail

getForbiddenSubstitutions

protected java.lang.String[] getForbiddenSubstitutions()
Gets the substitution strings which are not allowed in arguments for this external tool.

Specified by:
getForbiddenSubstitutions in class AbstractToolValidator
Returns:
the substitution strings ("%1", etc.) which are not allowed in arguments for this external tool

getRequiredSubstitutions

protected java.lang.String[] getRequiredSubstitutions()
Gets the substitution strings which are not required in arguments for this external tool.

Specified by:
getRequiredSubstitutions in class AbstractToolValidator
Returns:
the substitution strings ("%1", etc.) which are required in arguments for this external tool


© 2015 Microsoft. All rights reserved.