PointInTimeTrigger trigger = new PointInTimeTrigger( _trigger.getPit().getNextFireTime(), null, null ); return trigger;
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.Trigger other) { if (other == org.drools.marshalling.impl.ProtobufMessages.Trigger.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasCron()) { mergeCron(other.getCron()); } if (other.hasInterval()) { mergeInterval(other.getInterval()); } if (other.hasPit()) { mergePit(other.getPit()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }