Package com._1c.g5.v8.dt.team
Class DevelopmentOptions
java.lang.Object
com._1c.g5.v8.dt.team.DevelopmentOptions
Development options allows to customize development process settings when the development process operation is
performed.
- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty instance ofDevelopmentOptions
.DevelopmentOptions
(String key, String value) Creates an instance ofDevelopmentOptions
with the single provided option.DevelopmentOptions
(Map<String, String> options) Creates an instance ofDevelopmentOptions
with the provided options. -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsOption
(String key) Returns whether development options contains a development option with the provided key.copy()
Creates and returns a new copy of development options.boolean
Returns a development option with the provided key.Returns a map of all development options.int
hashCode()
void
Sets a development option with the provided key.void
setOptions
(Map<String, String> options) Sets and adds a map of the development options.
-
Constructor Details
-
DevelopmentOptions
public DevelopmentOptions()Creates an empty instance ofDevelopmentOptions
. -
DevelopmentOptions
Creates an instance ofDevelopmentOptions
with the single provided option.- Parameters:
key
- an option key to set, cannot benull
value
- an option value to set, cannot benull
-
DevelopmentOptions
Creates an instance ofDevelopmentOptions
with the provided options.- Parameters:
options
- a map of options to set, cannot benull
-
-
Method Details
-
getOptions
Returns a map of all development options. Modifying the map does not affect this debug options.- Returns:
- a map of all development options, never
null
-
containsOption
Returns whether development options contains a development option with the provided key.- Parameters:
key
- the option key, cannot benull
- Returns:
- whether development options contains a development option with the provided key
-
getOption
Returns a development option with the provided key.- Parameters:
key
- the option key, cannot benull
- Returns:
- a development option with the provided key
-
setOption
Sets a development option with the provided key.- Parameters:
key
- the option key, cannot benull
value
- the option value, cannot benull
-
setOptions
Sets and adds a map of the development options.- Parameters:
options
- a map of options to set, cannot benull
-
copy
Creates and returns a new copy of development options.- Returns:
- a new copy of development options, never
null
-
hashCode
public int hashCode() -
equals
-