|
|
@ -21,6 +21,7 @@ import org.wso2.carbon.device.mgt.core.config.datasource.DataSourceConfig;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.email.EmailConfigurations;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.email.EmailConfigurations;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.identity.IdentityConfigurations;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.identity.IdentityConfigurations;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.policy.PolicyConfiguration;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.policy.PolicyConfiguration;
|
|
|
|
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.task.TaskConfiguration;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
|
@ -35,6 +36,7 @@ public class DeviceManagementConfigRepository {
|
|
|
|
private EmailConfigurations emailConfigurations;
|
|
|
|
private EmailConfigurations emailConfigurations;
|
|
|
|
private IdentityConfigurations identityConfigurations;
|
|
|
|
private IdentityConfigurations identityConfigurations;
|
|
|
|
private PolicyConfiguration policyConfiguration;
|
|
|
|
private PolicyConfiguration policyConfiguration;
|
|
|
|
|
|
|
|
private TaskConfiguration taskConfiguration;
|
|
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "DataSourceConfiguration", required = true)
|
|
|
|
@XmlElement(name = "DataSourceConfiguration", required = true)
|
|
|
|
public DataSourceConfig getDataSourceConfig() {
|
|
|
|
public DataSourceConfig getDataSourceConfig() {
|
|
|
@ -71,4 +73,13 @@ public class DeviceManagementConfigRepository {
|
|
|
|
public void setPolicyConfiguration(PolicyConfiguration policyConfiguration) {
|
|
|
|
public void setPolicyConfiguration(PolicyConfiguration policyConfiguration) {
|
|
|
|
this.policyConfiguration = policyConfiguration;
|
|
|
|
this.policyConfiguration = policyConfiguration;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "TaskConfiguration", required = true)
|
|
|
|
|
|
|
|
public TaskConfiguration getTaskConfiguration() {
|
|
|
|
|
|
|
|
return taskConfiguration;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTaskConfiguration(TaskConfiguration taskConfiguration) {
|
|
|
|
|
|
|
|
this.taskConfiguration = taskConfiguration;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|