Class GovernanceActionProcessRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessRequestBody
GovernanceActionProcessRequestBody provides a structure for passing the properties for initiating a new instance of a governance action process.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget>Return the list of elements that the governance action process will work on.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 qualified name of the GovernanceActionProcess that will act as a template for the governance actions that will be created and run.Return the parameters to pass onto the governance service.Return the list of elements that triggered this request.Return the time that this process should start (null means as soon as possible).inthashCode()Return hash code for this objectvoidsetActionTargets(List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets) Set up the list of elements that the governance action process will work on.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.voidsetProcessQualifiedName(String processQualifiedName) Set up the qualified name of the GovernanceActionProcess that will act as a template for the governance actions that will be created and run.voidsetRequestParameters(Map<String, String> requestParameters) Set up the parameters to pass onto the governance service.voidsetRequestSourceGUIDs(List<String> requestSourceGUIDs) Set up the list of elements that triggered this request.voidsetStartTime(Date startTime) Set up the time that this process should start (null means as soon as possible).toString()JSON-style toString.
-
Constructor Details
-
GovernanceActionProcessRequestBody
public GovernanceActionProcessRequestBody()Default constructor -
GovernanceActionProcessRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProcessQualifiedName
Return the qualified name of the GovernanceActionProcess that will act as a template for the governance actions that will be created and run.- Returns:
- string name
-
setProcessQualifiedName
Set up the qualified name of the GovernanceActionProcess that will act as a template for the governance actions that will be created and run.- Parameters:
processQualifiedName- 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
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> getActionTargets()Return the list of elements that the governance action process will work on.- Returns:
- map of names to string guids
-
setActionTargets
public void setActionTargets(List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets) Set up the list of elements that the governance action process will work on.- Parameters:
actionTargets- map of names to string guids
-
getStartTime
Return the time that this process should start (null means as soon as possible).- Returns:
- date object
-
setStartTime
Set up the time that this process should start (null means as soon as possible).- Parameters:
startTime- 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
-