public class ChangeManagementSystemService
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
checkChangeRequestsFromUserInputOnDeploy(java.lang.Long pDeploymentRequestId,
java.lang.String pRequestsList,
java.lang.Boolean pCheckExistence,
java.util.List<CMSObject> pCMSTicketList) |
CMSObject |
createIncident(java.lang.Long pWorkflowRequestId,
java.util.Map<java.lang.String,java.io.Serializable> pCmsIncidentFieldValues)
This method is only called from Events.
|
CMSObject |
createIncident(java.util.Map<java.lang.String,java.io.Serializable> pCmsIncidentFieldValues)
Will create an Incident using the map which with all the fields and it's values.
|
CMSObject |
createTicket() |
void |
createTicketOnDeploy(java.lang.Long pDeploymentRequestId) |
CMSObject |
findCMSTicket(java.lang.String pTicketNumber) |
java.lang.Long |
getChangeManagementSystemId() |
java.util.Collection<CMSObject> |
getDeploymentRequests(java.lang.Long pDeploymentRequestId) |
static ChangeManagementSystemService |
getInstanceForEvents(java.lang.Long pCmsInstanceId,
ServiceBaseAMImpl am) |
static ChangeManagementSystemService |
getInstanceForPipelineGate(java.lang.Long pStageGateId,
ServiceBaseAMImpl am,
java.lang.Long environmentId,
ScriptEvaluator pScript) |
static ChangeManagementSystemService |
getInstanceForProjectOrFolder(java.lang.Long projectId,
java.lang.Long folderId,
ServiceBaseAMImpl am,
java.lang.Long environmentId,
ScriptEvaluator scriptEvaluator) |
boolean |
isCMSConfigured() |
boolean |
isDoPolling() |
boolean |
isTicketApproved(CMSObject pTicket,
java.lang.String pEnvironmentCode) |
boolean |
isTicketRejected(CMSObject pTicket,
java.lang.String pEnvironmentCode) |
boolean |
isTicketRequiredForDeploy() |
public static ChangeManagementSystemService getInstanceForProjectOrFolder(java.lang.Long projectId, java.lang.Long folderId, ServiceBaseAMImpl am, java.lang.Long environmentId, ScriptEvaluator scriptEvaluator)
public static ChangeManagementSystemService getInstanceForPipelineGate(java.lang.Long pStageGateId, ServiceBaseAMImpl am, java.lang.Long environmentId, ScriptEvaluator pScript)
public static ChangeManagementSystemService getInstanceForEvents(java.lang.Long pCmsInstanceId, ServiceBaseAMImpl am)
public void createTicketOnDeploy(java.lang.Long pDeploymentRequestId) throws ApiException
ApiException
public CMSObject createTicket() throws ApiException
ApiException
public CMSObject createIncident(java.lang.Long pWorkflowRequestId, java.util.Map<java.lang.String,java.io.Serializable> pCmsIncidentFieldValues)
pWorkflowRequestId
- pCmsIncidentFieldValues
- public CMSObject createIncident(java.util.Map<java.lang.String,java.io.Serializable> pCmsIncidentFieldValues)
pCmsIncidentFieldValues
- public void checkChangeRequestsFromUserInputOnDeploy(java.lang.Long pDeploymentRequestId, java.lang.String pRequestsList, java.lang.Boolean pCheckExistence, java.util.List<CMSObject> pCMSTicketList) throws ApiException
ApiException
public java.util.Collection<CMSObject> getDeploymentRequests(java.lang.Long pDeploymentRequestId)
public java.lang.Long getChangeManagementSystemId()
public CMSObject findCMSTicket(java.lang.String pTicketNumber)
public boolean isTicketApproved(CMSObject pTicket, java.lang.String pEnvironmentCode)
public boolean isTicketRejected(CMSObject pTicket, java.lang.String pEnvironmentCode)
public boolean isCMSConfigured()
public boolean isTicketRequiredForDeploy()
public boolean isDoPolling()