public class RundeckClientManager extends Object implements RundeckManager
Modifier and Type | Class and Description |
---|---|
static class |
RundeckClientManager.ExecutionStatus |
Modifier and Type | Field and Description |
---|---|
static Integer |
API_VERSION |
Constructor and Description |
---|
RundeckClientManager() |
RundeckClientManager(RundeckInstance rundeckInstance) |
Modifier and Type | Method and Description |
---|---|
org.rundeck.client.api.model.AbortResult |
abortExecution(String id) |
void |
buildClient() |
org.rundeck.client.api.model.JobItem |
findJob(String project,
String name,
String groupPath) |
String |
findJobId(String project,
String name,
String groupPath) |
org.rundeck.client.util.Client<org.rundeck.client.api.RundeckApi> |
getClient() |
org.rundeck.client.api.model.Execution |
getExecution(String id) |
org.rundeck.client.api.model.JobItem |
getJob(String id) |
org.rundeck.client.api.model.ExecOutput |
getOutput(Long executionId,
Long var2,
Integer var3,
Integer var4) |
org.rundeck.client.api.model.ExecOutput |
getOutput(String executionId,
Long var2,
Long var3,
Long var4) |
RundeckInstance |
getRundeckInstance() |
boolean |
ping() |
org.rundeck.client.api.model.Execution |
runExecution(String jobId,
Properties options,
Properties nodeFilters) |
void |
setClient(org.rundeck.client.util.Client<org.rundeck.client.api.RundeckApi> client) |
void |
setRundeckInstance(RundeckInstance rundeckInstance) |
boolean |
testAuth() |
public static final Integer API_VERSION
public RundeckClientManager()
public RundeckClientManager(RundeckInstance rundeckInstance)
public RundeckInstance getRundeckInstance()
getRundeckInstance
in interface RundeckManager
public void setRundeckInstance(RundeckInstance rundeckInstance)
public org.rundeck.client.util.Client<org.rundeck.client.api.RundeckApi> getClient()
public void setClient(org.rundeck.client.util.Client<org.rundeck.client.api.RundeckApi> client)
public void buildClient()
public org.rundeck.client.api.model.AbortResult abortExecution(String id) throws IOException
abortExecution
in interface RundeckManager
IOException
public org.rundeck.client.api.model.ExecOutput getOutput(Long executionId, Long var2, Integer var3, Integer var4) throws IOException
getOutput
in interface RundeckManager
IOException
public org.rundeck.client.api.model.ExecOutput getOutput(String executionId, Long var2, Long var3, Long var4) throws IOException
getOutput
in interface RundeckManager
IOException
public org.rundeck.client.api.model.Execution getExecution(String id) throws IOException
getExecution
in interface RundeckManager
IOException
public String findJobId(String project, String name, String groupPath) throws IOException
findJobId
in interface RundeckManager
IOException
public org.rundeck.client.api.model.JobItem findJob(String project, String name, String groupPath) throws IOException
findJob
in interface RundeckManager
IOException
public org.rundeck.client.api.model.JobItem getJob(String id) throws IOException
getJob
in interface RundeckManager
IOException
public org.rundeck.client.api.model.Execution runExecution(String jobId, Properties options, Properties nodeFilters) throws IOException
runExecution
in interface RundeckManager
IOException
public boolean ping() throws IOException
ping
in interface RundeckManager
IOException
public boolean testAuth() throws IOException
testAuth
in interface RundeckManager
IOException
Copyright © 2016–2022. All rights reserved.