Exemplo n.º 1
0
 /**
  * The rule's state.
  *
  * @param state The rule's state.
  * @return Returns a reference to this object so that method calls can be chained together.
  * @see RuleState
  */
 public Rule withState(RuleState state) {
   setState(state);
   return this;
 }
Exemplo n.º 2
0
 /**
  * The rule's state.
  *
  * @param state The rule's state.
  * @return Returns a reference to this object so that method calls can be chained together.
  * @see RuleState
  */
 public Rule withState(String state) {
   setState(state);
   return this;
 }