Package emissary.command
Class PoolCommand
- java.lang.Object
-
- emissary.command.BaseCommand
-
- emissary.command.HttpCommand
-
- emissary.command.MonitorCommand<MapResponseEntity>
-
- emissary.command.PoolCommand
-
- All Implemented Interfaces:
EmissaryCommand,Runnable
public class PoolCommand extends MonitorCommand<MapResponseEntity>
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMMAND_NAME-
Fields inherited from class emissary.command.HttpCommand
DEFAULT_PORT
-
-
Constructor Summary
Constructors Constructor Description PoolCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommandName()StringgetTargetEndpoint()MapResponseEntitysendRequest(EmissaryClient client, String endpoint)voidsetupCommand()-
Methods inherited from class emissary.command.MonitorCommand
displayEntityResults, getClustered, getMonitor, getSleepInterval, run
-
Methods inherited from class emissary.command.HttpCommand
getDefaultPort, getFullUrl, getHost, getHostAndPort, getJettyUserFile, getPort, getScheme, isSniHostCheckDisabled, isSniHostCheckEnabled, isSslEnabled, performGet, performPost, setupHttp
-
Methods inherited from class emissary.command.BaseCommand
getBinDir, getConfig, getErrorDir, getFlavor, getLogbackConfig, getOutputDir, getProjectBase, getQuiet, isVerbose, logInfo, outputBanner, overrideFlavor, parse, parse, reinitLogback, run, setSystemProperty, setupConfig
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface emissary.command.EmissaryCommand
setup
-
-
-
-
Field Detail
-
COMMAND_NAME
public static final String COMMAND_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCommandName
public String getCommandName()
-
sendRequest
public MapResponseEntity sendRequest(EmissaryClient client, String endpoint)
- Specified by:
sendRequestin classMonitorCommand<MapResponseEntity>
-
setupCommand
public void setupCommand()
- Specified by:
setupCommandin interfaceEmissaryCommand- Overrides:
setupCommandin classHttpCommand
-
getTargetEndpoint
public String getTargetEndpoint()
- Specified by:
getTargetEndpointin classMonitorCommand<MapResponseEntity>
-
-