public Event(Application application, LifecycleStateEnum type, TerminationRecord record) { assert application!=null; assert type!=null;
public Event(Application application, LifecycleStateEnum newState, LifecycleStateEnum oldState, TerminationRecord record) { assert newState != null;
    public Event(Application application, LifecycleStateEnum type, TerminationRecord record) {        assert application!=null;        assert type!=null;        this.application = application;        state = type;        this.record= record;        timestamp=new Date();    }