Package com.e1c.langtool.settings
Class CommonFeatureSettings.Builder
java.lang.Object
com.e1c.langtool.settings.CommonFeatureSettings.Builder
- Enclosing class:
- CommonFeatureSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theV8FeatureSettingsobject.Sets the feature is camel case.setFeature(String featureName) Sets the feature name.setId()Sets the feature is id and unique.Sets the feature is interface.setModel()Sets the feature is model.Sets the feature is multi line or single-line.Sets the feature is prefer to store in context storage.setPresentation(String presentation) Sets the feature presentation.setTag()Sets the feature is tag or tag param.Sets the feature is unique.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Builds theV8FeatureSettingsobject.- Returns:
- the v8 feature settings
-
setFeature
Sets the feature name.- Parameters:
featureName- the feature name- Returns:
- the builder
-
setPresentation
Sets the feature presentation.- Parameters:
featureName- the feature presentation- Returns:
- the builder
-
setId
Sets the feature is id and unique.- Returns:
- the builder
-
setInterface
Sets the feature is interface.- Returns:
- the builder
-
setModel
Sets the feature is model.- Returns:
- the builder
-
setUnique
Sets the feature is unique.- Returns:
- the builder
-
setCamelCase
Sets the feature is camel case.- Returns:
- the builder
-
setMultiLine
Sets the feature is multi line or single-line.- Returns:
- the builder
-
setPreferContext
Sets the feature is prefer to store in context storage.- Returns:
- the builder, cannot be
null
-
setTag
Sets the feature is tag or tag param.- Returns:
- the builder
-