@Override
	public int compareTo(Stream other) {
		int diff = this.getDefinition().getName().compareTo(other.getDefinition().getName());
		return (diff != 0) ? diff : this.getStartedAt().compareTo(other.getStartedAt());
	}
Create a new stream out of the given {@link StreamDefinition}.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/stream/Stream.java