state = type; this.record= record; timestamp=new Date();
state = newState; this.oldState = oldState; this.record = record; timestamp = new Date();
    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();    }