-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into build_integration_algorithms
Conflicts: frontend/assembly.xml frontend/pom.xml
- Loading branch information
Showing
137 changed files
with
6,578 additions
and
6,305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
release.properties | ||
/.idea | ||
*.iml | ||
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 117 additions & 0 deletions
117
...potsdam/hpi/metanome/algorithm_integration/configuration/ConfigurationSettingCsvFile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
/* | ||
* Copyright 2014 by the Metanome project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package de.uni_potsdam.hpi.metanome.algorithm_integration.configuration; | ||
|
||
|
||
/** | ||
* @author Jakob Zwiener | ||
*/ | ||
public class ConfigurationSettingCsvFile extends ConfigurationSettingDataSource { | ||
private static final long serialVersionUID = -770650561337139324L; | ||
|
||
private String fileName; | ||
private boolean advanced; | ||
private char separatorChar; | ||
private char quoteChar; | ||
private char escapeChar; | ||
private boolean strictQuotes; | ||
private boolean ignoreLeadingWhiteSpace; | ||
private int line; | ||
|
||
public ConfigurationSettingCsvFile() { | ||
} | ||
|
||
public ConfigurationSettingCsvFile(String fileName, boolean advanced, char separator, char quote, | ||
char escape, boolean strictQuotes, boolean ignoreLeadingWhiteSpace, int line) { | ||
this.fileName = fileName; | ||
this.advanced = advanced; | ||
this.separatorChar = separator; | ||
this.quoteChar = quote; | ||
this.escapeChar = escape; | ||
this.strictQuotes = strictQuotes; | ||
this.ignoreLeadingWhiteSpace = ignoreLeadingWhiteSpace; | ||
this.line = line; | ||
} | ||
|
||
public String getFileName() { | ||
return fileName; | ||
} | ||
|
||
public void setFileName(String value) { | ||
this.fileName = value; | ||
} | ||
|
||
public boolean isAdvanced() { | ||
return advanced; | ||
} | ||
|
||
public void setAdvanced(boolean value) { | ||
this.advanced = value; | ||
} | ||
|
||
public char getSeparatorChar() { | ||
return separatorChar; | ||
} | ||
|
||
public void setSeparatorChar(char value) { | ||
this.separatorChar = value; | ||
} | ||
|
||
public char getQuoteChar() { | ||
return quoteChar; | ||
} | ||
|
||
public void setQuoteChar(char value) { | ||
this.quoteChar = value; | ||
} | ||
|
||
public char getEscapeChar() { | ||
return escapeChar; | ||
} | ||
|
||
public void setEscapeChar(char value) { | ||
this.escapeChar = value; | ||
} | ||
|
||
public boolean isStrictQuotes() { | ||
return strictQuotes; | ||
} | ||
|
||
public void setStrictQuotes(boolean value) { | ||
this.strictQuotes = value; | ||
} | ||
|
||
public boolean isIgnoreLeadingWhiteSpace() { | ||
return ignoreLeadingWhiteSpace; | ||
} | ||
|
||
public void setIgnoreLeadingWhiteSpace(boolean value) { | ||
this.ignoreLeadingWhiteSpace = value; | ||
} | ||
|
||
public int getLine() { | ||
return line; | ||
} | ||
|
||
public void setLine(int value) { | ||
this.line = value; | ||
} | ||
|
||
public String getValueAsString() { | ||
return fileName; | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...sdam/hpi/metanome/algorithm_integration/configuration/ConfigurationSettingDataSource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright 2014 by the Metanome project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package de.uni_potsdam.hpi.metanome.algorithm_integration.configuration; | ||
|
||
import java.io.Serializable; | ||
|
||
|
||
/** | ||
* InputParameters correspond to a ConfigurationSpecification and ConfigurationValue type. | ||
* It is used for frontend input of the configuration value, so generally, a ConfigurationSpecification | ||
* will be converted to an InputParameter, which is used to get the user's value input, and then converted | ||
* to the ConfigurationValue handed back to the algorithm. | ||
* | ||
* @author Claudia | ||
*/ | ||
public abstract class ConfigurationSettingDataSource implements Serializable { | ||
private static final long serialVersionUID = 8344875059579539858L; | ||
|
||
public abstract String getValueAsString(); | ||
} |
64 changes: 64 additions & 0 deletions
64
...dam/hpi/metanome/algorithm_integration/configuration/ConfigurationSettingSQLIterator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* Copyright 2014 by the Metanome project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package de.uni_potsdam.hpi.metanome.algorithm_integration.configuration; | ||
|
||
|
||
public class ConfigurationSettingSQLIterator extends ConfigurationSettingDataSource { | ||
private static final long serialVersionUID = 3242593091096735218L; | ||
|
||
private String dbUrl; | ||
private String username; | ||
private String password; | ||
|
||
public ConfigurationSettingSQLIterator() { | ||
} | ||
|
||
public ConfigurationSettingSQLIterator(String dbUrl, String username, String password) { | ||
this.dbUrl = dbUrl; | ||
this.username = username; | ||
this.password = password; | ||
} | ||
|
||
public String getDbUrl() { | ||
return dbUrl; | ||
} | ||
|
||
public void setDbUrl(String dbUrl) { | ||
this.dbUrl = dbUrl; | ||
} | ||
|
||
public String getUsername() { | ||
return username; | ||
} | ||
|
||
public void setUsername(String username) { | ||
this.username = username; | ||
} | ||
|
||
public String getPassword() { | ||
return password; | ||
} | ||
|
||
public void setPassword(String password) { | ||
this.password = password; | ||
} | ||
|
||
@Override | ||
public String getValueAsString() { | ||
return this.dbUrl + ";" + this.username + ";" + this.password; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.