mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
refactored code
This commit is contained in:
parent
7d7bd4794a
commit
d66292f933
@ -53,23 +53,9 @@ public class AndroidDeviceManagementService implements DeviceManagementService {
|
|||||||
return AndroidDeviceManagementService.DEVICE_TYPE_ANDROID;
|
return AndroidDeviceManagementService.DEVICE_TYPE_ANDROID;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This method is not in use
|
|
||||||
@Override
|
@Override
|
||||||
public List<TaskOperation> getTasksForPlatform() {
|
public List<TaskOperation> getTasksForPlatform() {
|
||||||
// List<String> operationsForPlatform = new ArrayList<>();
|
return null;
|
||||||
// TaskConfiguration taskConfiguration =
|
|
||||||
// MobileDeviceConfigurationManager.getInstance().getMobileDeviceManagementConfig()
|
|
||||||
// .getTaskConfiguration();
|
|
||||||
//
|
|
||||||
// List<TaskConfiguration.Operation> ops = taskConfiguration.getOperations();
|
|
||||||
// List<TaskOperation> taskOperations = new ArrayList<>();
|
|
||||||
// for (TaskConfiguration.Operation op : ops) {
|
|
||||||
// TaskOperation taskOperation = new TaskOperation();
|
|
||||||
// taskOperation.setTaskName(op.getOperationName());
|
|
||||||
// taskOperation.setRecurrentTimes(op.getRecurrency());
|
|
||||||
// taskOperations.add(taskOperation);
|
|
||||||
// }
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -18,8 +18,6 @@
|
|||||||
|
|
||||||
package org.wso2.carbon.device.mgt.mobile.android.impl.config;
|
package org.wso2.carbon.device.mgt.mobile.android.impl.config;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
import javax.xml.bind.annotation.XmlRootElement;
|
import javax.xml.bind.annotation.XmlRootElement;
|
||||||
|
|
||||||
@ -30,7 +28,6 @@ import javax.xml.bind.annotation.XmlRootElement;
|
|||||||
public final class MobileDeviceManagementConfig {
|
public final class MobileDeviceManagementConfig {
|
||||||
|
|
||||||
private MobileDeviceManagementRepository mobileDeviceMgtRepository;
|
private MobileDeviceManagementRepository mobileDeviceMgtRepository;
|
||||||
// private TaskConfiguration taskConfiguration;
|
|
||||||
|
|
||||||
@XmlElement(name = "ManagementRepository", nillable = false)
|
@XmlElement(name = "ManagementRepository", nillable = false)
|
||||||
public MobileDeviceManagementRepository getMobileDeviceMgtRepository() {
|
public MobileDeviceManagementRepository getMobileDeviceMgtRepository() {
|
||||||
@ -42,13 +39,4 @@ public final class MobileDeviceManagementConfig {
|
|||||||
this.mobileDeviceMgtRepository = mobileDeviceMgtRepository;
|
this.mobileDeviceMgtRepository = mobileDeviceMgtRepository;
|
||||||
}
|
}
|
||||||
|
|
||||||
// @XmlElement(name = "TaskConfiguration", required = true)
|
|
||||||
// public TaskConfiguration getTaskConfiguration() {
|
|
||||||
// return taskConfiguration;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public void setTaskConfiguration(TaskConfiguration taskConfiguration) {
|
|
||||||
// this.taskConfiguration = taskConfiguration;
|
|
||||||
// }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user