Interface GetIntegrationRulesResponse
public interface GetIntegrationRulesResponse
Provides methods to retrieve information associated with an integration rule; returned from
IntegrationRuleService.getIntegrationRules(GetIntegrationRulesRequest).-
Method Summary
Modifier and TypeMethodDescriptiongetError()Retrieves the error encountered when retrieving the integration rules, if any.Retrieves the list ofIntegrationRules.booleanhasError()Indicates if there was an error when retrieving the integration rules.
-
Method Details
-
getIntegrationRules
Collection<IntegrationRule> getIntegrationRules()Retrieves the list ofIntegrationRules.If there was an error when retrieving integration rules this throws an exception. For example, if
hasError()returnstruethis will throw an exception.- Returns:
- a list of integration rule objects
-
hasError
boolean hasError()Indicates if there was an error when retrieving the integration rules.- Returns:
- true if there was an error when retrieving the integration rules, otherwise false
-
getError
IntegrationRuleError getError()Retrieves the error encountered when retrieving the integration rules, if any.- Returns:
- integration rule error if there was an error during retrieval, otherwise null
-