Class RestApiTesterExclusion


  • public class RestApiTesterExclusion
    extends Object
    The rest api tester exclusion.
    Author:
    Christian Bremer
    • Constructor Detail

      • RestApiTesterExclusion

        public RestApiTesterExclusion​(RestApiTesterPath path,
                                      RestApiAssertionType type)
        Instantiates a new rest api tester exclusion.
        Parameters:
        path - the path
        type - the type
    • Method Detail

      • isExcluded

        public static boolean isExcluded​(RestApiTesterPath path,
                                         RestApiAssertionType type,
                                         RestApiTesterExclusion[] exclusions)
        Checks whether the given path and type are excluded via the given exclusions.
        Parameters:
        path - the path
        type - the type
        exclusions - the exclusions
        Returns:
        the boolean