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
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return message to describe completion results or reasons for failure.List<org.odpi.openmetadata.frameworks.openmetadata.properties.NewActionTarget>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.org.odpi.openmetadata.frameworks.governanceaction.properties.CompletionStatusReturn the completion status supplied by the governance service when it completed.inthashCode()Return hash code for this objectvoidsetCompletionMessage(String completionMessage) Set up message to describe completion results or reasons for failure.voidsetNewActionTargets(List<org.odpi.openmetadata.frameworks.openmetadata.properties.NewActionTarget> newActionTargets) Set up the list of metadata elements that the next governance action should target.voidsetOutputGuards(List<String> outputGuards) Set up the list of guards supplied by the governance service when it completed.voidsetRequestParameters(Map<String, String> requestParameters) Set up the parameters to pass onto the governance service.voidsetStatus(org.odpi.openmetadata.frameworks.governanceaction.properties.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
public org.odpi.openmetadata.frameworks.governanceaction.properties.CompletionStatus getStatus()Return the completion status supplied by the governance service when it completed.- Returns:
- completion status enum
-
setStatus
public void setStatus(org.odpi.openmetadata.frameworks.governanceaction.properties.CompletionStatus status) 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
public List<org.odpi.openmetadata.frameworks.openmetadata.properties.NewActionTarget> getNewActionTargets()Return the metadata elements that the next governance action should target.- Returns:
- list of names to string guids
-
setNewActionTargets
public void setNewActionTargets(List<org.odpi.openmetadata.frameworks.openmetadata.properties.NewActionTarget> newActionTargets) 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
-