20 lines
694 B
Java
20 lines
694 B
Java
package GlobalData.EnvironmentValue;
|
|
import Common.CommonConstants;
|
|
import Common.Utils.CommonUtils;
|
|
import _VisualDVM.Current;
|
|
import Common.Database.Objects.iDBObject;
|
|
public class EnvironmentValue extends iDBObject {
|
|
public String name = "";
|
|
public String value = "";
|
|
public int machine_id = CommonConstants.Nan; //для удаления машин
|
|
public int run_configuration_id = CommonConstants.Nan;
|
|
@Override
|
|
public boolean isVisible() {
|
|
return Current.HasRunConfiguration() && (run_configuration_id == Current.getRunConfiguration().id);
|
|
}
|
|
@Override
|
|
public String toString() {
|
|
return name + "=" + CommonUtils.DQuotes(value);
|
|
}
|
|
}
|