The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit dc6bc0d1 authored by ics's avatar ics
Browse files

Store plotyVersion in ConfigManager.

parent 2553e6d4
4.0.27 06/07/2020
------
* Change updateImageData message for ploty version 1: give all the path of the image
* Store plotyVersion in ConfigManager.
4.0.26 01/07/2020
------
......
......@@ -41,6 +41,8 @@ import java.util.logging.Level;
import java.util.logging.Logger;
import fr.ill.ics.bridge.TokenManager;
import fr.ill.ics.bridge.command.CommandZoneWrapper;
import fr.ill.ics.nscclient.sessionmanagement.SessionManager;
import fr.ill.ics.util.exception.CommandNotFoundException;
import fr.ill.ics.util.exception.ConfigurationException;
import fr.ill.ics.util.exception.ConfigurationException.PluginType;
......@@ -128,6 +130,8 @@ public class ConfigManager {
public static String NOMADENDPOINT_DIRECTORY =System.getProperty("java.io.tmpdir") + FILE_SEPARATOR + "nomad";
public static String NOMADENDPOINT_FILE = "session.properties";
private int plotyVersion = 1;
/**
* @return the unique instance of this class
*/
......@@ -676,4 +680,12 @@ public class ConfigManager {
}
}
}
public void setPlotyVersion() {
plotyVersion = SessionManager.getInstance(CommandZoneWrapper.SERVER_ID).getPlotyVersion();
}
public int getPlotyVersion() {
return plotyVersion;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment