javagit/src/main/java/edu/nyu/cs/javagit/api/commands/GitStatusOptions.java
public void setOptAll(boolean all) {
    if (all && (optOnly || optInclude)) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000100")
          + "  The \"all\" option can not be set when the \"only\" or \"include\" option is set.");
    }
    this.optAll = all;
  }
public void setOptAll(boolean all) {
    if (all && (optOnly || optInclude)) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000100")
          + "  The \"all\" option can not be set when the \"only\" or \"include\" option is set.");
    }
    this.optAll = all;
  }
public void setOptAll ( boolean all ) { if ( all && ( optOnly || optInclude ) ) { throw new IllegalArgumentException ( ExceptionMessageMap . getMessage ( "000100" ) + "  The \"all\" option can not be set when the \"only\" or \"include\" option is set." ) ; } this . optAll = all ; }
Sets the '-a' options to &lt;git-status&gt; command. If any one of the optOnly or OptInclude
options are set then optAll should not be set. While setting optAll to true, if optOnly or
optInclude is set set then <code>IllegalArgumentException</code> is thrown.

@param all
Sets the - a options to &lt ; git - status&gt ; command . If any one of the optOnly or OptInclude options are set then optAll should not be set . While setting optAll to true if optOnly or optInclude is set set then <code > IllegalArgumentException< / code > is thrown .