Commit ac809aaa authored by redmitry@list.ru's avatar redmitry@list.ru

align with biotools 3.2

parent 5812c209
......@@ -37,9 +37,15 @@ import javax.json.bind.annotation.JsonbProperty;
public class Documentation {
private List<URI> docLinks;
private URI codeOfConduct;
private URI commandlineOptions;
private URI contributionsPolicy;
private URI help;
private URI faq;
private URI general;
private URI governance;
private URI installationInstructions;
private URI releaseNotes;
private URI build;
private URI manual;
private URI tutorial;
......@@ -61,6 +67,36 @@ public class Documentation {
this.docLinks = docLinks;
}
@JsonbProperty("code_of_conduct")
public URI getCodeOfConduct() {
return codeOfConduct;
}
@JsonbProperty("code_of_conduct")
public void setCodeOfConduct(URI codeOfConduct) {
this.codeOfConduct = codeOfConduct;
}
@JsonbProperty("commandline_options")
public URI getCommandlineOptions() {
return commandlineOptions;
}
@JsonbProperty("commandline_options")
public void setCommandlineOptions(URI commandlineOptions) {
this.commandlineOptions = commandlineOptions;
}
@JsonbProperty("contributions_policy")
public URI getContributionsPolicy() {
return contributionsPolicy;
}
@JsonbProperty("contributions_policy")
public void setContributionsPolicy(URI contributionsPolicy) {
this.contributionsPolicy = contributionsPolicy;
}
@JsonbProperty("faq")
public URI getFaq() {
return faq;
......@@ -80,16 +116,6 @@ public class Documentation {
public void setHelp(URI help) {
this.help = help;
}
// @JsonbProperty("general")
// public URI getGeneralDocumentation() {
// return general;
// }
//
// @JsonbProperty("general")
// public void setGeneralDocumentation(URI general) {
// this.general = general;
// }
@JsonbProperty("general")
public URI getGeneral() {
......@@ -101,6 +127,36 @@ public class Documentation {
this.general = general;
}
@JsonbProperty("governance")
public URI getGovernance() {
return governance;
}
@JsonbProperty("governance")
public void setGovernance(URI governance) {
this.governance = governance;
}
@JsonbProperty("installation_instructions")
public URI getInstallationInstructions() {
return installationInstructions;
}
@JsonbProperty("installation_instructions")
public void setInstallationInstructions(URI installationInstructions) {
this.installationInstructions = installationInstructions;
}
@JsonbProperty("release_notes")
public URI getReleaseNotes() {
return releaseNotes;
}
@JsonbProperty("release_notes")
public void setReleaseNotes(URI releaseNotes) {
this.releaseNotes = releaseNotes;
}
@JsonbProperty("tutorial")
public URI getTutorial() {
return tutorial;
......
/**
* *****************************************************************************
* Copyright (C) 2020 ELIXIR ES, Spanish National Bioinformatics Institute (INB)
* and Barcelona Supercomputing Center (BSC)
*
* Modifications to the initial code base are copyright of their respective
* authors, or their employers as appropriate.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*****************************************************************************
*/
package es.bsc.inb.elixir.openebench.model.tools;
/**
* @author Dmitry Repchevsky
*/
public enum ToolType {
COMMAND_LINE("cmd"),
WEB_APPLICATION("web"),
DESKTOP_APPLICATION("app"),
DATABASE_PORTAL("db"),
LIBRARY("lib"),
WEB_SERVICE("soap"),
WEB_API("rest"),
SPARQL_ENDPOINT("sparql"),
ONTOLOGY("ontology"),
WORKFLOW("workflow"),
SCRIPT("script"),
PLUGIN("plugin"),
SUITE("suite"),
WORKBENCH("workbench");
public final String type;
private ToolType(final String type) {
this.type = type;
}
@Override
public String toString() {
return type;
}
public static ToolType getToolType(final String value) {
for (ToolType ttype: ToolType.values()) {
if (ttype.type.equals(value)) {
return ttype;
}
}
throw new IllegalArgumentException(value);
}
}
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