Class InitiateGovernanceActionTypeRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.InitiateGovernanceActionTypeRequestBody
GovernanceActionTypeRequestBody provides a structure for passing the properties for initiating a new instance
of an engine action from a governance action type.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the list of elements that the governance service will work on.Return the qualified name of the GovernanceActionProcess that will act as a template for the engine actions that will be created and run.Return the qualified name of the governance engine that originated this request (if any).Return the unique name of the service that created this request.Return the parameters to pass onto the governance service.Return the list of elements that triggered this request.Return the time that this engine action should start (null means as soon as possible).int
hashCode()
Return hash code for this objectvoid
setActionTargets
(List<NewActionTarget> actionTargets) Set up the list of elements that the governance service will work on.void
setGovernanceActionTypeQualifiedName
(String governanceActionTypeQualifiedName) Set up the qualified name of the GovernanceActionType that will act as a template for the engine actions that will be created and run.void
setOriginatorEngineName
(String originatorEngineName) Set up the qualified name of the governance engine that originated this request (if any).void
setOriginatorServiceName
(String originatorServiceName) Set up the unique name of the service that created this request.void
setRequestParameters
(Map<String, String> requestParameters) Set up the parameters to pass onto the governance service.void
setRequestSourceGUIDs
(List<String> requestSourceGUIDs) Set up the list of elements that triggered this request.void
setStartDate
(Date startDate) Set up the time that this engine action should start (null means as soon as possible).toString()
JSON-style toString.
-
Constructor Details
-
InitiateGovernanceActionTypeRequestBody
public InitiateGovernanceActionTypeRequestBody()Default constructor -
InitiateGovernanceActionTypeRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getGovernanceActionTypeQualifiedName
Return the qualified name of the GovernanceActionProcess that will act as a template for the engine actions that will be created and run.- Returns:
- string name
-
setGovernanceActionTypeQualifiedName
Set up the qualified name of the GovernanceActionType that will act as a template for the engine actions that will be created and run.- Parameters:
governanceActionTypeQualifiedName
- 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
-
getRequestSourceGUIDs
Return the list of elements that triggered this request.- Returns:
- list of string guids
-
setRequestSourceGUIDs
Set up the list of elements that triggered this request.- Parameters:
requestSourceGUIDs
- list of string guids
-
getActionTargets
Return the list of elements that the governance service will work on.- Returns:
- list of names to string guids
-
setActionTargets
Set up the list of elements that the governance service will work on.- Parameters:
actionTargets
- list of names to string guids
-
getStartDate
Return the time that this engine action should start (null means as soon as possible).- Returns:
- date object
-
setStartDate
Set up the time that this engine action should start (null means as soon as possible).- Parameters:
startDate
- date object
-
getOriginatorServiceName
Return 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
-