SystemInfo { public SystemInfo instance() { SystemInfo info = new SystemInfo(); BeanUtils.copyProperties( this, info ); info.setDatabaseInfo( databaseInfo == null ? null : databaseInfo.instance() ); return info; }  SystemInfo instance(); void clearSensitiveInfo(); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getContextPath(); void setContextPath( String contextPath ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getUserAgent(); void setUserAgent( String userAgent ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getCalendar(); void setCalendar( String calendar ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getDateFormat(); void setDateFormat( String dateFormat ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) Date getServerDate(); void setServerDate( Date serverDate ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) Date getLastAnalyticsTableSuccess(); void setLastAnalyticsTableSuccess( Date lastAnalyticsTableSuccess ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getIntervalSinceLastAnalyticsTableSuccess(); void setIntervalSinceLastAnalyticsTableSuccess( String intervalSinceLastAnalyticsTableSuccess ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getLastAnalyticsTableRuntime(); void setLastAnalyticsTableRuntime( String lastAnalyticsTableRuntime ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) Date getLastAnalyticsTablePartitionSuccess(); void setLastAnalyticsTablePartitionSuccess( Date lastAnalyticsTablePartitionSuccess ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getIntervalSinceLastAnalyticsTablePartitionSuccess(); void setIntervalSinceLastAnalyticsTablePartitionSuccess( String intervalSinceLastAnalyticsTablePartitionSuccess ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getLastAnalyticsTablePartitionRuntime(); void setLastAnalyticsTablePartitionRuntime( String lastAnalyticsTablePartitionRuntime ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) Date getLastSystemMonitoringSuccess(); void setLastSystemMonitoringSuccess( Date lastSystemMonitoringSuccess ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getVersion(); void setVersion( String version ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getRevision(); void setRevision( String revision ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) Date getBuildTime(); void setBuildTime( Date buildTime ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getJasperReportsVersion(); void setJasperReportsVersion( String jasperReportsVersion ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getEnvironmentVariable(); void setEnvironmentVariable( String environmentVariable ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getFileStoreProvider(); void setFileStoreProvider( String fileStoreProvider ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getReadOnlyMode(); void setReadOnlyMode( String readOnlyMode ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getNodeId(); void setNodeId( String nodeId ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getJavaVersion(); void setJavaVersion( String javaVersion ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getJavaVendor(); void setJavaVendor( String javaVendor ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getJavaOpts(); void setJavaOpts( String javaOpts ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getOsName(); void setOsName( String osName ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getOsArchitecture(); void setOsArchitecture( String osArchitecture ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getOsVersion(); void setOsVersion( String osVersion ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getExternalDirectory(); void setExternalDirectory( String externalDirectory ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) DatabaseInfo getDatabaseInfo(); void setDatabaseInfo( DatabaseInfo databaseInfo ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) Integer getReadReplicaCount(); void setReadReplicaCount( Integer readReplicaCount ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getMemoryInfo(); void setMemoryInfo( String memoryInfo ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) Integer getCpuCores(); void setCpuCores( Integer cpuCores ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) boolean isEncryption(); void setEncryption( boolean encryption ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) boolean isEmailConfigured(); void setEmailConfigured( boolean emailConfigured ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) boolean isRedisEnabled(); void setRedisEnabled( boolean redisEnabled ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getRedisHostname(); void setRedisHostname( String redisHostname ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getSystemId(); void setSystemId( String systemId ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getSystemName(); void setSystemName( String systemName ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getSystemMetadataVersion(); void setSystemMetadataVersion( String systemMetadataVersion ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getInstanceBaseUrl(); void setInstanceBaseUrl( String instanceBaseUrl ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getSystemMonitoringUrl(); void setSystemMonitoringUrl( String systemMonitoringUrl ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) String getClusterHostname(); void setClusterHostname( String clusterHostname ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) Boolean getIsMetadataVersionEnabled(); void setIsMetadataVersionEnabled( Boolean isMetadataVersionEnabled ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) Date getLastMetadataVersionSyncAttempt(); void setLastMetadataVersionSyncAttempt( Date lastMetadataVersionSyncAttempt ); @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) boolean isMetadataSyncEnabled(); void setMetadataSyncEnabled( boolean isMetadataSyncEnabled );  }
@Test public void instance() { final SystemInfo si = systemInfo.instance(); Assert.assertNotSame( systemInfo, si ); Assert.assertNotSame( systemInfo.getDatabaseInfo(), si.getDatabaseInfo() ); }