Package io.jenkins.plugins.talend
Class TalendLookupHelper
- java.lang.Object
-
- io.jenkins.plugins.talend.TalendLookupHelper
-
public class TalendLookupHelper extends Object
The Class TalendLookupHelper.
-
-
Constructor Summary
Constructors Constructor Description TalendLookupHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getArtifactIdByName(String environment, String workspace, String artifact)
Gets the artifact id by name.static ListBoxModel
getArtifactList(String environment, String workspace)
Gets the artifact list.static String
getClusterIdByName(String environment, String runtime)
Gets the cluster id by name.static String
getEnvironmentIdByName(String environment)
Gets the environment id by name.static ListBoxModel
getEnvironmentList()
Gets the environment list.static String
getPipelineEngineIdByName(String environment, String runtime)
Gets the pipeline engine id by name.static String
getPlanIdByName(String environment, String workspace, String plan)
Gets the plan id by name.static ListBoxModel
getPlanList(String environment, String workspace)
Gets the plan list.static String
getPromotionIdByName(String promotion)
Gets the promotion id by name.static ListBoxModel
getPromotionList()
Gets the promotion list.static String
getRemoteEngineIdByName(String environment, String runtime)
Gets the remote engine id by name.static String
getTaskIdByName(String environment, String workspace, String task)
Gets the task id by name.static ListBoxModel
getTaskList(String environment, String workspace)
Gets the task list.static String
getWorkspaceIdByName(String environment, String workspace)
Gets the workspace id by name.static ListBoxModel
getWorkspaceList(String environment)
Gets the workspace list.
-
-
-
Method Detail
-
getEnvironmentList
public static ListBoxModel getEnvironmentList()
Gets the environment list.- Returns:
- the environment list
-
getEnvironmentIdByName
public static String getEnvironmentIdByName(String environment)
Gets the environment id by name.- Parameters:
environment
- the environment- Returns:
- the environment id by name
-
getPromotionList
public static ListBoxModel getPromotionList()
Gets the promotion list.- Returns:
- the promotion list
-
getPromotionIdByName
public static String getPromotionIdByName(String promotion)
Gets the promotion id by name.- Parameters:
promotion
- the promotion- Returns:
- the promotion id by name
-
getWorkspaceIdByName
public static String getWorkspaceIdByName(String environment, String workspace)
Gets the workspace id by name.- Parameters:
environment
- the environmentworkspace
- the workspace- Returns:
- the workspace id by name
-
getWorkspaceList
public static ListBoxModel getWorkspaceList(String environment)
Gets the workspace list.- Parameters:
environment
- the environment- Returns:
- the workspace list
-
getTaskList
public static ListBoxModel getTaskList(String environment, String workspace)
Gets the task list.- Parameters:
environment
- the environmentworkspace
- the workspace- Returns:
- the task list
-
getTaskIdByName
public static String getTaskIdByName(String environment, String workspace, String task)
Gets the task id by name.- Parameters:
environment
- the environmentworkspace
- the workspacetask
- the task- Returns:
- the task id by name
-
getPlanList
public static ListBoxModel getPlanList(String environment, String workspace)
Gets the plan list.- Parameters:
environment
- the environmentworkspace
- the workspace- Returns:
- the plan list
-
getPlanIdByName
public static String getPlanIdByName(String environment, String workspace, String plan)
Gets the plan id by name.- Parameters:
environment
- the environmentworkspace
- the workspaceplan
- the plan- Returns:
- the plan id by name
-
getArtifactList
public static ListBoxModel getArtifactList(String environment, String workspace)
Gets the artifact list.- Parameters:
environment
- the environmentworkspace
- the workspace- Returns:
- the artifact list
-
getArtifactIdByName
public static String getArtifactIdByName(String environment, String workspace, String artifact)
Gets the artifact id by name.- Parameters:
environment
- the environmentworkspace
- the workspaceartifact
- the artifact- Returns:
- the artifact id by name
-
getRemoteEngineIdByName
public static String getRemoteEngineIdByName(String environment, String runtime)
Gets the remote engine id by name.- Parameters:
environment
- the environmentruntime
- the runtime- Returns:
- the remote engine id by name
-
getClusterIdByName
public static String getClusterIdByName(String environment, String runtime)
Gets the cluster id by name.- Parameters:
environment
- the environmentruntime
- the runtime- Returns:
- the cluster id by name
-
-