public interface PreferenceScopeTypes
Modifier and Type | Method and Description |
---|---|
String |
getDefaultKeyFor(String type)
Returns the default key for a type.
|
boolean |
typeRequiresKey(String type)
Checks if a scope type requires a custom key.
|
boolean typeRequiresKey(String type) throws InvalidPreferenceScopeException
type
- Type to check.InvalidPreferenceScopeException
- if the type passed is invalid.String getDefaultKeyFor(String type) throws InvalidPreferenceScopeException
type
- Type to check.InvalidPreferenceScopeException
- if the type passed is invalid.Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.