Package emissary.command
Class MonitorCommand<T extends BaseResponseEntity>
- java.lang.Object
-
- emissary.command.BaseCommand
-
- emissary.command.HttpCommand
-
- emissary.command.MonitorCommand<T>
-
- All Implemented Interfaces:
EmissaryCommand
,Runnable
- Direct Known Subclasses:
AgentsCommand
,DirectoryCommand
,PoolCommand
public abstract class MonitorCommand<T extends BaseResponseEntity> extends HttpCommand
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMMAND_NAME
-
Fields inherited from class emissary.command.HttpCommand
DEFAULT_PORT
-
-
Constructor Summary
Constructors Constructor Description MonitorCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
displayEntityResults(T entity)
boolean
getClustered()
boolean
getMonitor()
int
getSleepInterval()
abstract String
getTargetEndpoint()
void
run(picocli.CommandLine c)
abstract T
sendRequest(EmissaryClient client, String endpoint)
-
Methods inherited from class emissary.command.HttpCommand
getDefaultPort, getFullUrl, getHost, getHostAndPort, getJettyUserFile, getPort, getScheme, isSniHostCheckDisabled, isSniHostCheckEnabled, isSslEnabled, performGet, performPost, setupCommand, 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
getCommandName, setup
-
-
-
-
Field Detail
-
COMMAND_NAME
public static final String COMMAND_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMonitor
public boolean getMonitor()
-
getSleepInterval
public int getSleepInterval()
-
getClustered
public boolean getClustered()
-
sendRequest
public abstract T sendRequest(EmissaryClient client, String endpoint)
-
getTargetEndpoint
public abstract String getTargetEndpoint()
-
run
public void run(picocli.CommandLine c)
-
displayEntityResults
protected void displayEntityResults(T entity)
-
-