dataminer/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/EnvironmentVariableManager....

45 lines
1.1 KiB
Java

package org.gcube.dataanalysis.wps.statisticalmanager.synchserver.mapping;
import java.util.List;
public class EnvironmentVariableManager {
public EnvironmentVariableManager(int maxComputation, boolean saveOnStorage, boolean simulationMode, List<String> shubUsersExcluded, String configPath ) {
super();
this.maxComputation = maxComputation;
this.saveOnStorage = saveOnStorage;
this.simulationMode = simulationMode;
this.shubUsersExcluded = shubUsersExcluded;
this.configPath = configPath;
}
private int maxComputation;
private boolean saveOnStorage;
private boolean simulationMode;
//null: all users will write on SHub
//empty: no one will write on Shub
//filled: users reported will not write on Shub
private List<String> shubUsersExcluded;
private String configPath;
public int getMaxComputation() {
return maxComputation;
}
public boolean isSaveOnStorage() {
return saveOnStorage;
}
public boolean isSimulationMode() {
return simulationMode;
}
public List<String> getShubUsersExcluded() {
return shubUsersExcluded;
}
public String getConfigPath() {
return configPath;
}
}