@Override
	public int compareTo(ModuleMetadata other) {
		return this.getQualifiedId().compareTo(other.getQualifiedId());
	}
Return the state of the deployment unit this module instance belongs to.

@return deployment unit (stream or job) for this module instance
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/store/ModuleMetadata.java