no message
This commit is contained in:
@@ -36,6 +36,8 @@ public class SapforVersion_json implements Serializable {
|
||||
//--
|
||||
public SapforTask task = null; //родная задача. Нужна для построения дерева версий.
|
||||
public db_project_info project = null;
|
||||
//--
|
||||
public SapforVersionState state = SapforVersionState.Empty;
|
||||
public SapforVersionMatchState matchState = SapforVersionMatchState.Unknown;
|
||||
//--
|
||||
public SapforVersion_json(String version_in, String description_in) {
|
||||
@@ -46,12 +48,12 @@ public class SapforVersion_json implements Serializable {
|
||||
version = version_in.substring(root_in.length() + 1);
|
||||
description = description_in;
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return Home.getName() + " : " + Utils.Brackets(description);
|
||||
}
|
||||
|
||||
public SapforVersionState init(File configurationRoot) {
|
||||
SapforVersionState state = SapforVersionState.Empty;
|
||||
//--
|
||||
state = SapforVersionState.Empty;
|
||||
matchState = SapforVersionMatchState.Unknown;
|
||||
//--
|
||||
String relativePath = Global.isWindows ? Utils.toW(version) : version;
|
||||
Home = Paths.get(configurationRoot.getAbsolutePath(), relativePath).toFile();
|
||||
files = new LinkedHashMap<>();
|
||||
@@ -288,4 +290,8 @@ public class SapforVersion_json implements Serializable {
|
||||
project.db.Disconnect();
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return Home.getName() + " : " + Utils.Brackets(description);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user