public class ServiceNowExecution extends Object
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.CloseableHttpResponse |
attachFile() |
org.apache.http.client.methods.CloseableHttpResponse |
attachZip(InputStream zipStream) |
org.apache.http.client.methods.CloseableHttpResponse |
createChange() |
static ServiceNowExecution |
from(AbstractServiceNowStep step,
hudson.model.Item project) |
static ServiceNowExecution |
from(AbstractServiceNowStep step,
hudson.model.Item project,
org.apache.http.impl.client.HttpClientBuilder httpClientBuilder,
CredentialsLocatorStrategy locatorStrategy) |
org.apache.http.client.methods.CloseableHttpResponse |
getChangeState() |
org.apache.http.client.methods.CloseableHttpResponse |
getCTask() |
org.apache.http.client.methods.CloseableHttpResponse |
updateChange() |
void |
updateItem(ServiceNowItem item) |
public static ServiceNowExecution from(AbstractServiceNowStep step, hudson.model.Item project)
public static ServiceNowExecution from(AbstractServiceNowStep step, hudson.model.Item project, org.apache.http.impl.client.HttpClientBuilder httpClientBuilder, CredentialsLocatorStrategy locatorStrategy)
public void updateItem(ServiceNowItem item)
public org.apache.http.client.methods.CloseableHttpResponse createChange()
throws IOException
IOExceptionpublic org.apache.http.client.methods.CloseableHttpResponse updateChange()
throws IOException
IOExceptionpublic org.apache.http.client.methods.CloseableHttpResponse getChangeState()
throws IOException
IOExceptionpublic org.apache.http.client.methods.CloseableHttpResponse getCTask()
throws IOException
IOExceptionpublic org.apache.http.client.methods.CloseableHttpResponse attachFile()
throws IOException
IOExceptionpublic org.apache.http.client.methods.CloseableHttpResponse attachZip(InputStream zipStream) throws IOException
IOExceptionCopyright © 2016–2019. All rights reserved.