public class RemoteTaskUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REG_REMOTE_TASK_PROPS_BASE_PATH |
static String |
REMOTE_TASK_TASK_NAME |
static String |
REMOTE_TASK_TASK_TYPE |
static String |
REMOTE_TASK_TENANT_ID |
Constructor and Description |
---|
RemoteTaskUtils() |
Modifier and Type | Method and Description |
---|---|
static org.wso2.carbon.remotetasks.stub.admin.common.xsd.StaticTaskInformation |
convert(TaskInfo taskInfo,
String taskType,
String remoteTaskId,
int tenantId) |
static String |
createRemoteTaskMapping(int tenantId,
String taskType,
String taskName) |
static String |
generateRemoteTaskID() |
static String |
getTenantDomainFromId(int tid) |
static Object[] |
lookupRemoteTask(String remoteTaskId) |
static String |
remoteTaskNameFromTaskInfo(String taskType,
String taskName) |
static void |
removeRemoteTaskMapping(String remoteTaskId) |
public static final String REG_REMOTE_TASK_PROPS_BASE_PATH
public static final String REMOTE_TASK_TENANT_ID
public static final String REMOTE_TASK_TASK_TYPE
public static final String REMOTE_TASK_TASK_NAME
public static String generateRemoteTaskID()
public static void removeRemoteTaskMapping(String remoteTaskId) throws org.wso2.carbon.ntask.common.TaskException
org.wso2.carbon.ntask.common.TaskException
public static String createRemoteTaskMapping(int tenantId, String taskType, String taskName) throws org.wso2.carbon.ntask.common.TaskException
org.wso2.carbon.ntask.common.TaskException
public static Object[] lookupRemoteTask(String remoteTaskId) throws org.wso2.carbon.ntask.common.TaskException
org.wso2.carbon.ntask.common.TaskException
public static String getTenantDomainFromId(int tid)
public static String remoteTaskNameFromTaskInfo(String taskType, String taskName)
Copyright © 2022 WSO2. All rights reserved.