revert-70aa11f8
mharindu 8 years ago
commit ed1eb217ea

@ -48,6 +48,9 @@
<Export-Package>
org.wso2.carbon.device.mgt.common.*
</Export-Package>
<Import-Package>
*;resolution:=optional,
</Import-Package>
</instructions>
</configuration>
</plugin>
@ -61,5 +64,5 @@
<scope>provided</scope>
</dependency>
</dependencies>
</project>

@ -18,36 +18,46 @@
package org.wso2.carbon.device.mgt.common.configuration.mgt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* Represents an individual configuration entry.
*/
@ApiModel(value = "ConfigurationEntry", description = "This class carries all information related to Tenant Configuration" +
"Settings")
public class ConfigurationEntry {
private String name;
private String contentType;
private Object value;
@ApiModelProperty(name = "name", value = "Name of the configuration", required = true)
private String name;
@ApiModelProperty(name = "contentType", value = "Type of the configuration", required = true)
private String contentType;
@ApiModelProperty(name = "value", value = "Value of the configuration", required = true)
private Object value;
public String getName() {
return name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public void setName(String name) {
this.name = name;
}
public String getContentType() {
return contentType;
}
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
public Object getValue() {
return value;
}
public Object getValue() {
return value;
}
public void setValue(Object value) {
this.value = value;
}
public void setValue(Object value) {
this.value = value;
}
}

@ -83,6 +83,8 @@
org.apache.catalina.core,
org.apache.commons.collections,
org.wso2.carbon.email.sender.*,
io.swagger.annotations.*,
*;resolution:=optional,
org.wso2.carbon,
org.wso2.carbon.base
</Import-Package>

Loading…
Cancel
Save