Pattern: Command, java flavour