Java Agile class