code: public void end(String state, String attributes) {
  		this.end = System.currentTimeMillis();// - epoch;
  		this.state = state;
  		this.attributes = attributes;
  		// System.out.println(this);
  	}
docs: Called when it is ended
  
  @param state
  the final state
  @param attributes the attributes