Class CompletionStatusRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.CompletionStatusRequestBody
CompletionStatusRequestBody provides a structure for passing the properties to record that a governance service finished a governance action.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return message to describe completion results or reasons for failure.Return the metadata elements that the next governance action should target.Return the list of guards supplied by the governance service when it completed.Return the parameters to pass onto the governance service.Return the completion status supplied by the governance service when it completed.int
hashCode()
Return hash code for this objectvoid
setCompletionMessage
(String completionMessage) Set up message to describe completion results or reasons for failure.void
setNewActionTargets
(List<NewActionTarget> newActionTargets) Set up the list of metadata elements that the next governance action should target.void
setOutputGuards
(List<String> outputGuards) Set up the list of guards supplied by the governance service when it completed.void
setRequestParameters
(Map<String, String> requestParameters) Set up the parameters to pass onto the governance service.void
setStatus
(CompletionStatus status) Set up the completion status.toString()
JSON-style toString.
-
Constructor Details
-
CompletionStatusRequestBody
public CompletionStatusRequestBody()Default constructor -
CompletionStatusRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getStatus
Return the completion status supplied by the governance service when it completed.- Returns:
- completion status enum
-
setStatus
Set up the completion status.- Parameters:
status
- completion status enum
-
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
-
getOutputGuards
Return the list of guards supplied by the governance service when it completed.- Returns:
- list of string guids
-
setOutputGuards
Set up the list of guards supplied by the governance service when it completed.- Parameters:
outputGuards
- list of string guids
-
getNewActionTargets
Return the metadata elements that the next governance action should target.- Returns:
- list of names to string guids
-
setNewActionTargets
Set up the list of metadata elements that the next governance action should target.- Parameters:
newActionTargets
- list of names to string guids
-
getCompletionMessage
Return message to describe completion results or reasons for failure.- Returns:
- string
-
setCompletionMessage
Set up message to describe completion results or reasons for failure.- Parameters:
completionMessage
- string
-
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
-