Package com.e1c.langtool.storage.model
Class ContextStorageSettings
java.lang.Object
com.e1c.langtool.storage.model.StorageSettings
com.e1c.langtool.storage.model.ResourceStorageSettings
com.e1c.langtool.storage.model.ContextStorageSettings
The settings of the file resource context storage.
Allows to configure the same as
ResourceStorageSettings and StorageSettings.
This model object is not allowed to modify after created project settings.-
Field Summary
Fields inherited from class com.e1c.langtool.storage.model.StorageSettings
storageId -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new context storage settings.ContextStorageSettings(String segment) Instantiates a new context storage settings. -
Method Summary
Modifier and TypeMethodDescriptionGets the format of context storage or default value:properties.Gets the storage id for the context storage provider only.Methods inherited from class com.e1c.langtool.storage.model.ResourceStorageSettings
getFileExtension, setFileExtension, setFormatMethods inherited from class com.e1c.langtool.storage.model.StorageSettings
getFeatureFilter, getId, getPresentation, getSettings, isReadOnly, setFeatureFilter, setId, setPresentation, setReadOnly, setSettings
-
Constructor Details
-
ContextStorageSettings
Instantiates a new context storage settings.- Parameters:
segment- the segment, cannot benull.
-
ContextStorageSettings
public ContextStorageSettings()Instantiates a new context storage settings.
-
-
Method Details
-
getStorageId
Gets the storage id for the context storage provider only. TheStorageSettings.getId()method returns only the segment part ofStorageID.- Overrides:
getStorageIdin classResourceStorageSettings- Returns:
- the storage id, cannot return
null.
-
getFormat
Gets the format of context storage or default value:properties.- Overrides:
getFormatin classResourceStorageSettings- Returns:
- the format of the context storage, cannot return
null.
-