public abstract class BaseFunctions
extends java.lang.Object
Constructor and Description |
---|
BaseFunctions(boolean isExecute)
Standard Function constructor
|
BaseFunctions(boolean isExecute,
LogFunctions pFLOG)
Allows functions class access to the mFLOG variable so the internal java code can log to the same output as the log calls in the user groovy script
|
Modifier and Type | Method and Description |
---|---|
protected void |
approveTask(java.lang.String pUsername,
java.lang.String pTaskIdentifier,
java.lang.String pNotes,
DevOpsRestAM pRestAM) |
protected void |
approveTaskByEmails(java.util.Set<java.lang.String> pEmails,
java.lang.String pTaskIdentifier,
java.lang.String pNotes,
DevOpsRestAM pRestAM) |
abstract void |
cleanup() |
protected void |
completeManualStepBySnapshotId(java.lang.String pUsername,
java.lang.Long pSnapshotId,
DevOpsRestAM pRestAM) |
protected void |
completeManualStepByTaskId(java.lang.String pUsername,
java.lang.Long pTaskId,
DevOpsRestAM pRestAM) |
protected void |
decryptIntegrationInstance(java.util.List<PropertyValuePojo> properties,
DevOpsRestAM pRestAM) |
protected JsonObject |
doSimpleGet(java.lang.String pUrl,
java.lang.String pUser,
java.lang.String pPassword) |
protected AccountInstancePojo |
findIntegrationInstance(java.lang.String pIntegrationInstanceCode,
java.lang.String pType,
DevOpsRestAM pRestAM) |
abstract java.lang.String |
getGroovyKey() |
protected LogFunctions |
getLogFunctions() |
protected java.lang.String |
getServerBaseUrl() |
protected void |
rejectTask(java.lang.String pUsername,
java.lang.String pTaskIdentifier,
java.lang.String pNotes,
DevOpsRestAM pRestAM) |
protected void |
rejectTaskByEmails(java.util.Set<java.lang.String> pEmails,
java.lang.String pTaskIdentifier,
java.lang.String pNotes,
DevOpsRestAM pRestAM) |
public BaseFunctions(boolean isExecute)
isExecute
- - Will this functions class be used for execution? Generally this is true unless you are binding the class for inspection/suggestionspublic BaseFunctions(boolean isExecute, LogFunctions pFLOG)
isExecute
- - Will this functions class be used for execution? Generally this is true unless you are binding the class for inspection/suggestionspFLOG
- - LogFunctions classprotected LogFunctions getLogFunctions()
protected JsonObject doSimpleGet(java.lang.String pUrl, java.lang.String pUser, java.lang.String pPassword) throws FlexCheckedException
FlexCheckedException
protected AccountInstancePojo findIntegrationInstance(java.lang.String pIntegrationInstanceCode, java.lang.String pType, DevOpsRestAM pRestAM) throws FlexNotFoundException
FlexNotFoundException
protected void approveTask(java.lang.String pUsername, java.lang.String pTaskIdentifier, java.lang.String pNotes, DevOpsRestAM pRestAM) throws FlexCheckedException, FlexNotFoundException
protected void rejectTask(java.lang.String pUsername, java.lang.String pTaskIdentifier, java.lang.String pNotes, DevOpsRestAM pRestAM) throws FlexCheckedException, FlexNotFoundException
protected void approveTaskByEmails(java.util.Set<java.lang.String> pEmails, java.lang.String pTaskIdentifier, java.lang.String pNotes, DevOpsRestAM pRestAM) throws FlexCheckedException, FlexNotFoundException
protected void rejectTaskByEmails(java.util.Set<java.lang.String> pEmails, java.lang.String pTaskIdentifier, java.lang.String pNotes, DevOpsRestAM pRestAM) throws FlexCheckedException, FlexNotFoundException
protected void completeManualStepByTaskId(java.lang.String pUsername, java.lang.Long pTaskId, DevOpsRestAM pRestAM) throws FlexCheckedException
FlexCheckedException
protected void completeManualStepBySnapshotId(java.lang.String pUsername, java.lang.Long pSnapshotId, DevOpsRestAM pRestAM) throws FlexCheckedException
FlexCheckedException
protected void decryptIntegrationInstance(java.util.List<PropertyValuePojo> properties, DevOpsRestAM pRestAM)
protected java.lang.String getServerBaseUrl()
public abstract java.lang.String getGroovyKey()
public abstract void cleanup()