public void copyFrom(Rule rule) {
        setPolicy(rule.getPolicy());
        setCaptureStart(rule.getCaptureStart());
        setCaptureEnd(rule.getCaptureEnd());
        setPrivateComment(rule.getPrivateComment());
        setPublicComment(rule.getPublicComment());
        setRetrievalStart(rule.getRetrievalStart());
        setRetrievalEnd(rule.getRetrievalEnd());
        setSecondsSinceCapture(rule.getSecondsSinceCapture());
        setSurt(rule.getSurt());
        setWho(rule.getWho());
        setEnabled(rule.getEnabled());
        setExactMatch(rule.isExactMatch());
    }
public void copyFrom ( Rule rule ) { setPolicy ( rule . getPolicy ( ) ) ; setCaptureStart ( rule . getCaptureStart ( ) ) ; setCaptureEnd ( rule . getCaptureEnd ( ) ) ; setPrivateComment ( rule . getPrivateComment ( ) ) ; setPublicComment ( rule . getPublicComment ( ) ) ; setRetrievalStart ( rule . getRetrievalStart ( ) ) ; setRetrievalEnd ( rule . getRetrievalEnd ( ) ) ; setSecondsSinceCapture ( rule . getSecondsSinceCapture ( ) ) ; setSurt ( rule . getSurt ( ) ) ; setWho ( rule . getWho ( ) ) ; setEnabled ( rule . getEnabled ( ) ) ; setExactMatch ( rule . isExactMatch ( ) ) ; }
Populate the rule data fields by copying them from a given rule.