@POST @AnonymousAllowed @Path("string/set") public Response setString(KeyValueHolder holder) { applicationProperties.setString(holder.key, holder.value); return Response.ok(null).build(); }
private void setLicenseExtenstionTimestamp(final long timestamp) { applicationProperties.setOption(APKeys.JIRA_CONFIRMED_INSTALL_WITH_OLD_LICENSE, true); applicationProperties.setString( APKeys.JIRA_CONFIRMED_INSTALL_WITH_OLD_LICENSE_TIMESTAMP, String.valueOf(timestamp)); }