Class CleanUpOptionsCore
java.lang.Object
org.eclipse.jdt.core.manipulation.CleanUpOptionsCore
- Direct Known Subclasses:
CleanUpOptions
Deprecated, for removal: This API element is subject to removal in a future version.
Please use CleanUpOptions in the future
This class is not intended to be subclassed by clients.
Allows to set and retrieve clean up settings for given options keys.
- Since:
- 1.12
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Creates a new instance.CleanUpOptionsCore
(Map<String, String> options) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new CleanUpOptions instance with the given options. -
Method Summary
Modifier and TypeMethodDescriptiongetKeys()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an unmodifiable set of all known keys.Deprecated, for removal: This API element is subject to removal in a future version.Returns the value for the given key.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Tells whether the option with the givenkey
is enabled.void
Deprecated, for removal: This API element is subject to removal in a future version.Sets the option for the given key to the given value.
-
Field Details
-
TRUE
Deprecated, for removal: This API element is subject to removal in a future version.True value- See Also:
-
FALSE
Deprecated, for removal: This API element is subject to removal in a future version.False value- See Also:
-
-
Constructor Details
-
CleanUpOptionsCore
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new CleanUpOptions instance with the given options.- Parameters:
options
- map that maps clean ups keys (String
) to a non-null
string value
-
CleanUpOptionsCore
public CleanUpOptionsCore()Deprecated, for removal: This API element is subject to removal in a future version.Creates a new instance.
-
-
Method Details
-
isEnabled
Deprecated, for removal: This API element is subject to removal in a future version.Tells whether the option with the givenkey
is enabled.- Parameters:
key
- the name of the option- Returns:
true
if enabled,false
if not enabled or unknown key- Throws:
IllegalArgumentException
- if the key isnull
- See Also:
-
CleanUpConstants
-
getValue
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value for the given key.- Parameters:
key
- the key of the value- Returns:
- the value associated with the key
- Throws:
IllegalArgumentException
- if the key is null or unknown
-
setOption
Deprecated, for removal: This API element is subject to removal in a future version.Sets the option for the given key to the given value.- Parameters:
key
- the name of the option to setvalue
- the value of the option- Throws:
IllegalArgumentException
- if the key isnull
- See Also:
-
getKeys
Deprecated, for removal: This API element is subject to removal in a future version.Returns an unmodifiable set of all known keys.- Returns:
- an unmodifiable set of all keys
-