class ServerIdentity implements ServerIdentityInterface {

    @JsonIgnore
    public final ServerIdentity setFromPropertyFile(File propertiesFile) throws FileNotFoundException {
        try {
            final Properties properties = PropertiesUtils.readProperties(propertiesFile);
            String svalue = properties.getProperty(MAP_KEYNAME.NAME.name());
            if (svalue != null) {
                name = svalue;
            }
            svalue = properties.getProperty(MAP_KEYNAME.ROLE.name());
            if (svalue != null) {
                role = svalue;
            }
            svalue = properties.getProperty(MAP_KEYNAME.SERVERID.name());
            if (svalue != null) {
                setServerId(Integer.parseInt(svalue));
            }
            svalue = properties.getProperty(MAP_KEYNAME.SITEID.name());
            if (svalue != null) {
                setSiteId(Integer.parseInt(svalue));
            }
        } catch (final IOException | NumberFormatException e) {
            // ignore
            SysErrLogger.FAKE_LOGGER.ignoreLog(e);
        }
        initializeCommentFormat();
        return this;
    }

    private  ServerIdentity();

}