@ProviderType
public interface PasswordCommandService
| Modifier and Type | Method and Description |
|---|---|
KuraPayload |
execute(KuraPayload commandReq)
Password protected command execution service
|
default KuraResponsePayload |
execute(KuraRequestPayload commandReq)
Deprecated.
|
java.lang.String |
execute(java.lang.String cmd,
java.lang.String password)
Password protected command execution service
|
java.lang.String execute(java.lang.String cmd,
java.lang.String password)
throws KuraException
cmd - Command to be executedpassword - Password as specified in the CommandServiceKuraException - raised if the command service is disabled, if the password is not correct
or if an internal error occurs@Deprecated default KuraResponsePayload execute(KuraRequestPayload commandReq)
commandReq - Payload containing command informationKuraPayload execute(KuraPayload commandReq) throws KuraException
commandReq - Payload containing command informationKuraException - raised if the command execution fails