Package edu.uiuc.ncsa.sas.example
Class EchoExecutable
- java.lang.Object
-
- edu.uiuc.ncsa.sas.example.EchoExecutable
-
- All Implemented Interfaces:
Executable
public class EchoExecutable extends Object implements Executable
Really simple implementation of anExecutable
. This handles the execute and invoke actions. They both just echo back whatever the user types.Created by Jeff Gaynor
on 4/27/23 at 9:56 AM
-
-
Constructor Summary
Constructors Constructor Description EchoExecutable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
execute(Action action)
IOInterface
getIO()
void
setIO(IOInterface io)
-
-
-
Method Detail
-
execute
public Response execute(Action action)
- Specified by:
execute
in interfaceExecutable
-
getIO
public IOInterface getIO()
- Specified by:
getIO
in interfaceExecutable
-
setIO
public void setIO(IOInterface io)
- Specified by:
setIO
in interfaceExecutable
-
-