public final class ShowByPathWarningsGuard extends WarningsGuard
| Modifier and Type | Class and Description |
|---|---|
static class |
ShowByPathWarningsGuard.ShowType
Controls whether warnings should be restricted to a specified path or
suppressed within the specified path.
|
WarningsGuard.Priority| Constructor and Description |
|---|
ShowByPathWarningsGuard(String checkWarningsOnlyForPath) |
ShowByPathWarningsGuard(String[] checkWarningsOnlyForPath) |
ShowByPathWarningsGuard(String[] paths,
ShowByPathWarningsGuard.ShowType showType) |
ShowByPathWarningsGuard(String path,
ShowByPathWarningsGuard.ShowType showType) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getPriority()
The priority in which warnings guards are applied.
|
CheckLevel |
level(JSError error)
Returns a new check level for a given error.
|
disables, enablespublic ShowByPathWarningsGuard(String checkWarningsOnlyForPath)
public ShowByPathWarningsGuard(String[] checkWarningsOnlyForPath)
public ShowByPathWarningsGuard(String path, ShowByPathWarningsGuard.ShowType showType)
public ShowByPathWarningsGuard(String[] paths, ShowByPathWarningsGuard.ShowType showType)
public CheckLevel level(JSError error)
WarningsGuardlevel in class WarningsGuarderror - a reported error.protected int getPriority()
WarningsGuardgetPriority in class WarningsGuardCopyright © 2009-2015 Google. All Rights Reserved.