public void checkCanSetDeleteOption(String option) {
    if (isOptColor() || isOptNoColor() || isOptA() || isOptVerbose() || isOptMerged() || 
        isOptNoMerged() || (null != getOptContains()) || isOptTrack() || isOptNoTrack() || 
        isOptL() || isOptF() || isOptMLower() || isOptMUpper()) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120") + option + 
      " should be used with branch(es), to delete the branch(es).");
    }
  }
public void checkCanSetDeleteOption(String option) {
    if (isOptColor() || isOptNoColor() || isOptA() || isOptVerbose() || isOptMerged() || 
        isOptNoMerged() || (null != getOptContains()) || isOptTrack() || isOptNoTrack() || 
        isOptL() || isOptF() || isOptMLower() || isOptMUpper()) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120") + option + 
      " should be used with branch(es), to delete the branch(es).");
    }
  }
public void checkCanSetDeleteOption ( String option ) { if ( isOptColor ( ) || isOptNoColor ( ) || isOptA ( ) || isOptVerbose ( ) || isOptMerged ( ) || isOptNoMerged ( ) || ( null != getOptContains ( ) ) || isOptTrack ( ) || isOptNoTrack ( ) || isOptL ( ) || isOptF ( ) || isOptMLower ( ) || isOptMUpper ( ) ) { throw new IllegalArgumentException ( ExceptionMessageMap . getMessage ( "000120" ) + option + " should be used with branch(es), to delete the branch(es)." ) ; } }
Checks whether an option for deleting a branch or branch list can be set. If not, throws an
<code>IllegalArgumentException</code>.

@param option
The name of the option being checked; for use in exception messages.
Checks whether an option for deleting a branch or branch list can be set . If not throws an <code > IllegalArgumentException< / code > .