Package com.priint.pubserver.preferences
Class ServerProperties
- java.lang.Object
-
- com.priint.pubserver.preferences.ServerProperties
-
- All Implemented Interfaces:
java.io.Serializable
public class ServerProperties extends java.lang.Object implements java.io.SerializableClass representing an ServerProperties (List of ServerProperty).- Since:
- 4.1.6
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerPropertiesaddProperty(ServerProperty property)Add a ServerProperty to the listServerPropertiesaddProperty(java.lang.String propertyKey, java.lang.String type, java.lang.String value)Add a ServerProperty to the listjava.lang.StringgetDescription()Get the description of the ServerProperties.java.lang.StringgetName()Get the name of the ServerProperties object.java.util.List<ServerProperty>getServerProperties()Get the serverPropertiesList of the ServerProperties.java.lang.StringgetVersion()Get the version of the ServerProperties.java.lang.StringgetVersionPubServer()Get the versionPubServer of the ServerProperties.ServerPropertiessetDescription(java.lang.String description)Set the description of the ServerProperties.ServerPropertiessetName(java.lang.String name)Set the name of the ServerProperties.ServerPropertiessetServerProperties(java.util.List<ServerProperty> serverProperties)Set the serverPropertiesList of the ServerProperties.ServerPropertiessetVersion(java.lang.String version)Set the version of the ServerProperties.ServerPropertiessetVersionPubServer(java.lang.String versionPubServer)Set the versionPubServer of the ServerProperties.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of the ServerProperties object.- Returns:
- name
-
setName
public ServerProperties setName(java.lang.String name)
Set the name of the ServerProperties.- Parameters:
name-- Returns:
- ServerProperties object for chaining
-
getVersion
public java.lang.String getVersion()
Get the version of the ServerProperties.- Returns:
- version
-
setVersion
public ServerProperties setVersion(java.lang.String version)
Set the version of the ServerProperties.- Parameters:
version-- Returns:
- ServerProperties object for chaining
-
getVersionPubServer
public java.lang.String getVersionPubServer()
Get the versionPubServer of the ServerProperties.- Returns:
- versionPubServer
-
setVersionPubServer
public ServerProperties setVersionPubServer(java.lang.String versionPubServer)
Set the versionPubServer of the ServerProperties.- Parameters:
versionPubServer-- Returns:
- ServerProperties object for chaining
-
getDescription
public java.lang.String getDescription()
Get the description of the ServerProperties.- Returns:
- description
-
setDescription
public ServerProperties setDescription(java.lang.String description)
Set the description of the ServerProperties.- Parameters:
description-- Returns:
- ServerProperties object for chaining
-
getServerProperties
public java.util.List<ServerProperty> getServerProperties()
Get the serverPropertiesList of the ServerProperties.- Returns:
- serverPropertiesList
-
setServerProperties
public ServerProperties setServerProperties(java.util.List<ServerProperty> serverProperties)
Set the serverPropertiesList of the ServerProperties.- Parameters:
serverProperties-- Returns:
- ServerProperties object for chaining
-
addProperty
public ServerProperties addProperty(ServerProperty property)
Add a ServerProperty to the list- Parameters:
property-- Returns:
- ServerProperties object for chaining
-
addProperty
public ServerProperties addProperty(java.lang.String propertyKey, java.lang.String type, java.lang.String value)
Add a ServerProperty to the list- Parameters:
propertyKey-type-value-- Returns:
- ServerProperties object for chaining
-
-