ExpectJ is a Java re-implementation of the venerable TCL Expect utility. It can be used to script interaction with either a process (through stdin / stdout) or a telnet session.
'com.redhat.rhevm.api:rhevm-api-powershell-expectj:0.9-milestone7'
<dependency>
<groupId>com.redhat.rhevm.api</groupId>
<artifactId>rhevm-api-powershell-expectj</artifactId>
<version>0.9-milestone7</version>
</dependency>
<dependency org="com.redhat.rhevm.api" name="rhevm-api-powershell-expectj" rev="0.9-milestone7"/>
"com.redhat.rhevm.api", "rhevm-api-powershell-expectj", "0.9-milestone7"