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(java.lang.String checkWarningsOnlyForPath) |
ShowByPathWarningsGuard(java.lang.String[] checkWarningsOnlyForPath) |
ShowByPathWarningsGuard(java.lang.String[] paths,
ShowByPathWarningsGuard.ShowType showType) |
ShowByPathWarningsGuard(java.lang.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, enables, makeNonStrictpublic ShowByPathWarningsGuard(java.lang.String checkWarningsOnlyForPath)
public ShowByPathWarningsGuard(java.lang.String[] checkWarningsOnlyForPath)
public ShowByPathWarningsGuard(java.lang.String path,
ShowByPathWarningsGuard.ShowType showType)
public ShowByPathWarningsGuard(java.lang.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-2019 Google. All Rights Reserved.