Class EngineActionStatusRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.GAFAPIRequest
org.odpi.openmetadata.frameworkservices.gaf.rest.EngineActionStatusRequestBody
- All Implemented Interfaces:
RequestIdService
EngineActionStatusRequestBody provides a structure for passing a new ActivityStatus.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the status of the governance service.inthashCode()Return hash code for this objectvoidsetStatus(ActivityStatus status) Set up the status of the governance service.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworkservices.gaf.rest.GAFAPIRequest
getRequestId, setRequestId
-
Constructor Details
-
EngineActionStatusRequestBody
public EngineActionStatusRequestBody()Default constructor -
EngineActionStatusRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getStatus
Return the status of the governance service.- Returns:
- status enum
-
setStatus
Set up the status of the governance service.- Parameters:
status- status enum
-
toString
JSON-style toString.- Overrides:
toStringin classGAFAPIRequest- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classGAFAPIRequest- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classGAFAPIRequest- Returns:
- int hash code
-