Package org.appng.cli.commands.site
Class CheckSiteRunning
- java.lang.Object
-
- org.appng.cli.commands.site.CheckSiteRunning
-
- All Implemented Interfaces:
ExecutableCliCommand
public class CheckSiteRunning extends Object implements ExecutableCliCommand
- Author:
- Matthias Müller
-
-
Field Summary
Fields Modifier and Type Field Description protected int
responseCode
-
Constructor Summary
Constructors Constructor Description CheckSiteRunning()
CheckSiteRunning(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(CliEnvironment cle)
Executes the command.int
getResponseCode()
String
getVersion()
boolean
isRunning()
-
-
-
Constructor Detail
-
CheckSiteRunning
public CheckSiteRunning()
-
CheckSiteRunning
public CheckSiteRunning(String name)
-
-
Method Detail
-
execute
public void execute(CliEnvironment cle) throws BusinessException
Description copied from interface:ExecutableCliCommand
Executes the command.- Specified by:
execute
in interfaceExecutableCliCommand
- Parameters:
cle
- theCliEnvironment
to use- Throws:
BusinessException
- if on error occurs while executing the command
-
getResponseCode
public int getResponseCode()
-
getVersion
public String getVersion()
-
isRunning
public boolean isRunning()
-
-