Class Request
- java.lang.Object
-
- com.michelin.cio.jenkins.plugin.requests.model.Request
-
- Direct Known Subclasses:
DeleteBuildRequest
,DeleteFolderRequest
,DeleteJobRequest
,DeleteMultiBranchRequest
,RenameFolderRequest
,RenameJobRequest
,RenameMultiBranchRequest
,UnlockRequest
public abstract class Request extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
buildNumber
protected String
errorMessage
protected String
fullJobURL
protected String
jobNameJelly
protected String
jobNameSlash
protected String
jobNameSpace
protected String
rename
protected String
requestType
protected String
username
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
execute(Item item)
String
getBuildNumber()
String
getCreationDate()
String
getErrorMessage()
String
getFullJobURL()
String
getJobNameJelly()
String
getJobNameSlash()
String
getJobNameSpace()
abstract String
getMessage()
String
getRename()
String
getRequestType()
String
getUsername()
boolean
process(String requestType)
-
-
-
Field Detail
-
requestType
protected String requestType
-
username
protected String username
-
jobNameSpace
protected String jobNameSpace
-
buildNumber
protected String buildNumber
-
fullJobURL
protected String fullJobURL
-
jobNameSlash
protected String jobNameSlash
-
jobNameJelly
protected String jobNameJelly
-
rename
protected String rename
-
errorMessage
protected String errorMessage
-
-
Method Detail
-
getJobNameSpace
public String getJobNameSpace()
-
getJobNameSlash
public String getJobNameSlash()
-
getJobNameJelly
public String getJobNameJelly()
-
getRename
public String getRename()
-
getFullJobURL
public String getFullJobURL()
-
getRequestType
public String getRequestType()
-
getUsername
public String getUsername()
-
getBuildNumber
public String getBuildNumber()
-
getCreationDate
public String getCreationDate()
-
getErrorMessage
public String getErrorMessage()
-
getMessage
public abstract String getMessage()
-
process
public boolean process(String requestType)
-
execute
public abstract boolean execute(Item item)
-
-