This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Commit 9eeb9c8c authored by Michael Breu's avatar Michael Breu 💬
Browse files

Fixing missing Constructors

parent 42ceb9cf
package org.codeability.sharing.plugins.api;
public class SharingPluginConfig {
public static class Action {
private String actionName;
private String importServiceURL;
public Action(String actionName, String importServiceURL) {
super();
this.actionName = actionName;
this.importServiceURL = importServiceURL;
}
public Action() {
// JSON
}
/**
* @return the actionName
*/
public String getActionName() {
return actionName;
}
/**
* @param actionName the actionName to set
*/
public void setActionName(String actionName) {
this.actionName = actionName;
}
public String getImportServiceURL() {
return importServiceURL;
}
public void setImportServiceURL(String importServiceURL) {
this.importServiceURL = importServiceURL;
}
}
private String pluginName;
public SharingPluginConfig(String pluginName, Action[] actions) {
super();
this.pluginName = pluginName;
this.actions = actions;
}
private Action[] actions;
public SharingPluginConfig() {
// for JSON
// JSON
}
public String getImportServiceURL() {
return importServiceURL;
}
public String getPluginName() {
return pluginName;
}
public void setPluginName(String pluginName) {
this.pluginName = pluginName;
}
/**
* @return the actions
*/
public Action[] getActions() {
return actions;
}
/**
* @param actions the actions to set
*/
public void setActions(Action[] actions) {
this.actions = actions;
}
public void setImportServiceURL(String importServiceURL) {
this.importServiceURL = importServiceURL;
}
private String importServiceURL;
}
......@@ -10,6 +10,9 @@ public class ShoppingBasket {
this.exerciseInfo = exerciseInfo;
}
public ShoppingBasket() {
// JSON
}
/**
* @return the userInfo
*/
......@@ -46,6 +49,9 @@ public class ShoppingBasket {
this.email = email;
}
public UserInfo() {
// JSON
}
/**
* @return the email
*/
......@@ -73,6 +79,10 @@ public class ShoppingBasket {
this.gitLabURI = gitLabURI;
}
public ExerciseInfo() {
// JSON
}
/**
* @return the title
*/
......
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