/** * 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; }
/** * 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; }