Class InitiateEngineActionRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.InitiateEngineActionRequestBody
EngineActionRequestBody provides a structure for passing the properties for a new engine action.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the list of elements that caused this action.Return the list of elements that triggered this request.Return the list of elements that the governance action will work on.Return the description of the governance action.Return the display name for the governance action.intReturn the identifier of the governance domain that this action belongs to (0=ALL/ANY).Return the qualified name of the governance engine that originated this request (if any).Set up the unique name of the service that created this request.Return the name of the process that this action belongs to.Return the qualified name for this new governance action.Return the list of guards that should be passed to the governance service that executes this request.Return the parameters to pass onto the governance service.Return the name of the request source.Return the request type associated with this governance action.Return the time that this governance action should start (null means as soon as possible).inthashCode()Return hash code for this objectvoidsetActionCauseGUIDs(List<String> actionCauseGUIDs) Set up the list of elements that caused this action.voidsetActionSourceGUIDs(List<String> actionSourceGUIDs) Set up the list of elements that triggered this request.voidsetActionTargets(List<NewActionTarget> actionTargets) Set up the list of elements that the governance action will work on.voidsetDescription(String description) Set up the description of the governance action.voidsetDisplayName(String displayName) Set up the display name for the governance action.voidsetDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain that this action belongs to (0=ALL/ANY).voidsetOriginatorEngineName(String originatorEngineName) Set up the qualified name of the governance engine that originated this request (if any).voidsetOriginatorServiceName(String originatorServiceName) Set up the unique name of the service that created this request.voidsetProcessName(String processName) Set up the name of the process that this action belongs to.voidsetQualifiedName(String qualifiedName) Set up the qualified name of this new governance action.voidsetReceivedGuards(List<String> receivedGuards) Set up the list of guards that should be passed to the governance service that executes this request.voidsetRequestParameters(Map<String, String> requestParameters) Set up the parameters to pass onto the governance service.voidsetRequestSourceName(String requestSourceName) Set up the name of the request source.voidsetRequestType(String requestType) Set up the request type associated with this governance action, used to identify ths governance service to run.voidsetStartDate(Date startDate) Set up the time that this governance action should start (null means as soon as possible).toString()JSON-style toString.
-
Constructor Details
-
InitiateEngineActionRequestBody
public InitiateEngineActionRequestBody()Default constructor -
InitiateEngineActionRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getQualifiedName
Return the qualified name for this new governance action.- Returns:
- string name
-
setQualifiedName
Set up the qualified name of this new governance action.- Parameters:
qualifiedName- string name
-
getDomainIdentifier
public int getDomainIdentifier()Return the identifier of the governance domain that this action belongs to (0=ALL/ANY).- Returns:
- int
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain that this action belongs to (0=ALL/ANY).- Parameters:
domainIdentifier- int
-
getDisplayName
Return the display name for the governance action.- Returns:
- string name
-
setDisplayName
Set up the display name for the governance action.- Parameters:
displayName- string name
-
getDescription
Return the description of the governance action.- Returns:
- string text
-
setDescription
Set up the description of the governance action.- Parameters:
description- string text
-
getActionSourceGUIDs
Return the list of elements that triggered this request.- Returns:
- list of string guids
-
setActionSourceGUIDs
Set up the list of elements that triggered this request.- Parameters:
actionSourceGUIDs- list of string guids
-
getActionCauseGUIDs
Return the list of elements that caused this action.- Returns:
- list of string guids
-
setActionCauseGUIDs
Set up the list of elements that caused this action.- Parameters:
actionCauseGUIDs- list of string guids
-
getActionTargets
Return the list of elements that the governance action will work on.- Returns:
- list of name to string guids
-
setActionTargets
Set up the list of elements that the governance action will work on.- Parameters:
actionTargets- list of names to string guids
-
getReceivedGuards
Return the list of guards that should be passed to the governance service that executes this request.- Returns:
- list of strings
-
setReceivedGuards
Set up the list of guards that should be passed to the governance service that executes this request.- Parameters:
receivedGuards- list of strings
-
getStartDate
Return the time that this governance action should start (null means as soon as possible).- Returns:
- date object
-
setStartDate
Set up the time that this governance action should start (null means as soon as possible).- Parameters:
startDate- date object
-
getRequestType
Return the request type associated with this governance action.- Returns:
- string name
-
setRequestType
Set up the request type associated with this governance action, used to identify ths governance service to run.- Parameters:
requestType- string name
-
getRequestParameters
Return the parameters to pass onto the governance service.- Returns:
- map of properties
-
setRequestParameters
Set up the parameters to pass onto the governance service.- Parameters:
requestParameters- map of properties
-
getProcessName
Return the name of the process that this action belongs to.- Returns:
- name
-
setProcessName
Set up the name of the process that this action belongs to.- Parameters:
processName- name
-
getRequestSourceName
Return the name of the request source.- Returns:
- string name
-
setRequestSourceName
Set up the name of the request source.- Parameters:
requestSourceName- string name
-
getOriginatorServiceName
Set up the unique name of the service that created this request.- Returns:
- string name
-
setOriginatorServiceName
Set up the unique name of the service that created this request.- Parameters:
originatorServiceName- string name
-
getOriginatorEngineName
Return the qualified name of the governance engine that originated this request (if any).- Returns:
- string name
-
setOriginatorEngineName
Set up the qualified name of the governance engine that originated this request (if any).- Parameters:
originatorEngineName- string name
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-