Package com.priint.pubserver.preferences
Class ServerProperties
java.lang.Object
com.priint.pubserver.preferences.ServerProperties
- All Implemented Interfaces:
Serializable
Class representing an ServerProperties (List of ServerProperty).
- Since:
- 4.1.6
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProperty(ServerProperty property) Add a ServerProperty to the listaddProperty(String propertyKey, String type, String value) Add a ServerProperty to the listGet the description of the ServerProperties.getName()Get the name of the ServerProperties object.Get the serverPropertiesList of the ServerProperties.Get the version of the ServerProperties.Get the versionPubServer of the ServerProperties.setDescription(String description) Set the description of the ServerProperties.Set the name of the ServerProperties.setServerProperties(List<ServerProperty> serverProperties) Set the serverPropertiesList of the ServerProperties.setVersion(String version) Set the version of the ServerProperties.setVersionPubServer(String versionPubServer) Set the versionPubServer of the ServerProperties.
-
Constructor Details
-
ServerProperties
public ServerProperties()
-
-
Method Details
-
getName
Get the name of the ServerProperties object.- Returns:
- name
-
setName
Set the name of the ServerProperties.- Parameters:
name-- Returns:
- ServerProperties object for chaining
-
getVersion
Get the version of the ServerProperties.- Returns:
- version
-
setVersion
Set the version of the ServerProperties.- Parameters:
version-- Returns:
- ServerProperties object for chaining
-
getVersionPubServer
Get the versionPubServer of the ServerProperties.- Returns:
- versionPubServer
-
setVersionPubServer
Set the versionPubServer of the ServerProperties.- Parameters:
versionPubServer-- Returns:
- ServerProperties object for chaining
-
getDescription
Get the description of the ServerProperties.- Returns:
- description
-
setDescription
Set the description of the ServerProperties.- Parameters:
description-- Returns:
- ServerProperties object for chaining
-
getServerProperties
Get the serverPropertiesList of the ServerProperties.- Returns:
- serverPropertiesList
-
setServerProperties
Set the serverPropertiesList of the ServerProperties.- Parameters:
serverProperties-- Returns:
- ServerProperties object for chaining
-
addProperty
Add a ServerProperty to the list- Parameters:
property-- Returns:
- ServerProperties object for chaining
-
addProperty
Add a ServerProperty to the list- Parameters:
propertyKey-type-value-- Returns:
- ServerProperties object for chaining
-