@NoImplement
@Experimental
public interface TroubleshootingService
| Modifier and Type | Method and Description |
|---|---|
Object |
executeOperation(String name,
Map<String,String> arguments)
Invokes an operation with the given parameters.
|
List<TroubleshootingOperationDefinition> |
getAvailableOperations()
Gets the available operation definitions.
|
void |
registerOperation(TroubleshootingOperation operation)
Registers a new
TroubleshootingOperation. |
void |
unregisterOperation(String name)
Unregisters a new
TroubleshootingOperation. |
List<TroubleshootingOperationDefinition> getAvailableOperations()
executeOperation(String, Map).Object executeOperation(String name, Map<String,String> arguments) throws TroubleshootingOperationException
getAvailableOperations()name - The name of the operation to execute.arguments - A dictionary with the arguments.TroubleshootingOperationException - if it couldn't execute the operation because it wasn't available or there is an
error in the arguments.void registerOperation(TroubleshootingOperation operation)
TroubleshootingOperation.operation - the operation to be registered.void unregisterOperation(String name)
TroubleshootingOperation.name - the name of the operation to be registered.Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.