public class InstanceRestCommandExecutor extends ServerRemoteRestAdminCommand implements Runnable, InstanceCommand
AdminCommandEventBroker.AdminCommandListener<T>, AdminCommandEventBroker.BrokerListenerRegEvent, AdminCommandEventBroker.EventBrokerUtils
authToken, COMMAND_MODEL_MATCH_HEADER, host, logger, name, notify, operands, options, output, password, port, prohibitDirectoryUploads, scope, secure, user
LOCAL_EVENT_PREFIX
Constructor and Description |
---|
InstanceRestCommandExecutor(org.glassfish.hk2.api.ServiceLocator habitat,
String name,
FailurePolicy fail,
FailurePolicy offline,
Server server,
String host,
int port,
Logger logger,
ParameterMap p,
ActionReport r,
InstanceCommandResult res) |
Modifier and Type | Method and Description |
---|---|
String |
getCommandOutput() |
ActionReport |
getReport() |
Server |
getServer() |
void |
run() |
addAdditionalHeaders, authenticationInfo, getHttpConnectorAddress
closeSse, executeCommand, fetchCommandModel, findPropertyInReport, getActionReport, getAttributes, getCanonicalHost, getCommandModel, getCommandURI, getFromEnvironment, getManPage, getReadTimeout, getUsage, headers, isCommandModelFromCache, preinit, processHeaders, refetchInvalidModel, reportAuthenticationException, retryUsingSecureConnection, setActionReport, setCommandModel, setConnectTimeout, setEnableCommandModelCache, setFileOutputDirectory, setInteractive, setReadTimeout, setResponseFormatType, setUserOut, updateAuthentication, useSse
fireEvent, fireEvent, getUtils, listening, registerListener, unregisterListener
public InstanceRestCommandExecutor(org.glassfish.hk2.api.ServiceLocator habitat, String name, FailurePolicy fail, FailurePolicy offline, Server server, String host, int port, Logger logger, ParameterMap p, ActionReport r, InstanceCommandResult res) throws CommandException
CommandException
public String getCommandOutput()
getCommandOutput
in interface InstanceCommand
public Server getServer()
public ActionReport getReport()
Copyright © 2019. All rights reserved.