public class JenkinsCrumb extends Object
Constructor and Description |
---|
JenkinsCrumb()
New JenkinsCrumb object indicating that CSRF is disabled in the remote Jenkins (no crumb needed).
|
JenkinsCrumb(String headerId,
String crumbValue)
New JenkinsCrumb object with the header ID and crumb value to use in subsequent requests.
|
Modifier and Type | Method and Description |
---|---|
String |
getCrumbValue() |
String |
getHeaderId() |
boolean |
isEnabledOnRemote() |
public JenkinsCrumb()
public JenkinsCrumb(String headerId, String crumbValue)
headerId
- the header ID to be used in the subsequent requests.crumbValue
- the crumb value to be used in the header of subsequent requests.public String getHeaderId()
public String getCrumbValue()
public boolean isEnabledOnRemote()
Copyright © 2016–2023. All rights reserved.