Class GovernanceActionProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.GovernanceActionProperties
GovernanceActionProperties provides a structure for carrying the properties for a governance action.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the current status of the governance action.Return the list of completion guards supplied by the governance service.Return the date/time that the governance service completed (or null if not yet completed).Return the description of the governance action.Return the display name for the governance action.int
Return the identifier of the governance domain that this action belongs to (0=ALL/ANY).Return the unique identifier for the governance action type that acted as a template for this governance action (if appropriate).Return the unique name for the governance action type that acted as a template for this governance action (if appropriate).Return the unique identifier of governance engine that is processing the governance action.Return the unique name of governance engine that is processing the governance action.Return the list of guards that must be received before this governance action can proceed.Return the userId of the governance engine that is responsible for running the governance service for this governance action.Return the name of the governance action process - or similar request source.Return the list of guards provided by the previous governance service(s).Return the time that the governance action was created.Return the parameters to pass onto the governance service.Return the request type associated with this governance action.Return the time that this governance action should start (null means as soon as possible).int
hashCode()
Return hash code for this objectvoid
setActionStatus
(GovernanceActionStatus actionStatus) Set up the current status of the governance action.void
setCompletionGuards
(List<String> completionGuards) Set up the list of completion guards supplied by the governance service.void
setCompletionTime
(Date completionTime) Set up the date/time that the governance service completed (or null if not yet completed).void
setDescription
(String description) Set up the description of the governance action.void
setDisplayName
(String displayName) Set up the display name for the governance action.void
setDomainIdentifier
(int domainIdentifier) Set up the identifier of the governance domain that this action belongs to (0=ALL/ANY).void
setGovernanceActionTypeGUID
(String governanceActionTypeGUID) Set up the unique identifier for the governance action type that acted as a template for this governance action (if appropriate).void
setGovernanceActionTypeName
(String governanceActionTypeName) Set up the unique name for the governance action type that acted as a template for this governance action (if appropriate).void
setGovernanceEngineGUID
(String governanceEngineGUID) Set up the unique identifier of governance engine that is processing the governance action.void
setGovernanceEngineName
(String governanceEngineName) Set up the unique name of governance engine that is processing the governance action.void
setMandatoryGuards
(List<String> mandatoryGuards) Set up the list of guards that must be received before this governance action can proceed.void
setProcessingEngineUserId
(String processingEngineUserId) Set up the userId of the governance engine that is responsible for running the governance service for this governance action.void
setProcessName
(String processName) Set up the name of the governance action process - or similar request source.void
setReceivedGuards
(List<String> receivedGuards) Set up the list of guards provided by the previous governance service(s).void
setRequestedTime
(Date requestedTime) Set up the time that the governance action was created.void
setRequestParameters
(Map<String, String> requestParameters) Set up the parameters to pass onto the governance service.void
setRequestType
(String requestType) Set up the request type associated with this governance action, used to identify ths governance service to run.void
setStartTime
(Date startTime) Set up the time that this governance action should start (null means as soon as possible).toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
GovernanceActionProperties
public GovernanceActionProperties()Default constructor -
GovernanceActionProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getDomainIdentifier
public int getDomainIdentifier()Return the identifier of the governance domain that this action belongs to (0=ALL/ANY).- Returns:
- int
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain that this action belongs to (0=ALL/ANY).- Parameters:
domainIdentifier
- int
-
getDisplayName
Return the display name for the governance action.- Returns:
- string name
-
setDisplayName
Set up the display name for the governance action.- Parameters:
displayName
- string name
-
getDescription
Return the description of the governance action.- Returns:
- string text
-
setDescription
Set up the description of the governance action.- Parameters:
description
- string text
-
getMandatoryGuards
Return the list of guards that must be received before this governance action can proceed.- Returns:
- list of guards
-
setMandatoryGuards
Set up the list of guards that must be received before this governance action can proceed.- Parameters:
mandatoryGuards
- list of guards
-
getReceivedGuards
Return the list of guards provided by the previous governance service(s).- Returns:
- list of guards
-
setReceivedGuards
Set up the list of guards provided by the previous governance service(s).- Parameters:
receivedGuards
- list of guards
-
getGovernanceEngineGUID
Return the unique identifier of governance engine that is processing the governance action.- Returns:
- string guid
-
setGovernanceEngineGUID
Set up the unique identifier of governance engine that is processing the governance action.- Parameters:
governanceEngineGUID
- string guid
-
getGovernanceEngineName
Return the unique name of governance engine that is processing the governance action.- Returns:
- string name
-
setGovernanceEngineName
Set up the unique name of governance engine that is processing the governance action.- Parameters:
governanceEngineName
- string name
-
getProcessName
Return the name of the governance action process - or similar request source.- Returns:
- name
-
setProcessName
Set up the name of the governance action process - or similar request source.- Parameters:
processName
- name
-
getGovernanceActionTypeGUID
Return the unique identifier for the governance action type that acted as a template for this governance action (if appropriate).- Returns:
- guid
-
setGovernanceActionTypeGUID
Set up the unique identifier for the governance action type that acted as a template for this governance action (if appropriate).- Parameters:
governanceActionTypeGUID
- guid
-
getGovernanceActionTypeName
Return the unique name for the governance action type that acted as a template for this governance action (if appropriate).- Returns:
- name
-
setGovernanceActionTypeName
Set up the unique name for the governance action type that acted as a template for this governance action (if appropriate).- Parameters:
governanceActionTypeName
- name
-
getActionStatus
Return the current status of the governance action.- Returns:
- status enum
-
setActionStatus
Set up the current status of the governance action.- Parameters:
actionStatus
- status enum
-
getProcessingEngineUserId
Return the userId of the governance engine that is responsible for running the governance service for this governance action.- Returns:
- string userId
-
setProcessingEngineUserId
Set up the userId of the governance engine that is responsible for running the governance service for this governance action.- Parameters:
processingEngineUserId
- string userId
-
getRequestedTime
Return the time that the governance action was created.- Returns:
- date/time
-
setRequestedTime
Set up the time that the governance action was created.- Parameters:
requestedTime
- date/time
-
getStartTime
Return the time that this governance action should start (null means as soon as possible).- Returns:
- date object
-
setStartTime
Set up the time that this governance action should start (null means as soon as possible).- Parameters:
startTime
- date object
-
getRequestType
Return the request type associated with this governance action.- Returns:
- string name
-
setRequestType
Set up the request type associated with this governance action, used to identify ths governance service to run.- Parameters:
requestType
- 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
-
getCompletionTime
Return the date/time that the governance service completed (or null if not yet completed).- Returns:
- date object
-
setCompletionTime
Set up the date/time that the governance service completed (or null if not yet completed).- Parameters:
completionTime
- date object
-
getCompletionGuards
Return the list of completion guards supplied by the governance service.- Returns:
- list of guards
-
setCompletionGuards
Set up the list of completion guards supplied by the governance service.- Parameters:
completionGuards
- list of guards
-
toString
JSON-style toString.- Overrides:
toString
in classReferenceableProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-