Class GovernanceActionTypeProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeProperties
- Direct Known Subclasses:
GovernanceActionProcessStepProperties
GovernanceActionTypeProperties provides a structure for carrying the properties for a governance action type.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.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 parameters to pass onto the governance service.Return the unique identifier of governance engine that is processing the governance action.Return the action targets that are produced by the governance service.Return the list of guards produced by the governance service.Return the request parameters that are produced by the governance service.Return the request type associated with this governance action.Return the required action targets to supply when using this governance acton type to initiate an action.Return the required request parameters to supply when using this governance acton type to initiate an action.int
Return the minimum number of minutes to wait before starting the next governance action.int
hashCode()
Return hash code for this objectvoid
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
setFixedRequestParameters
(Map<String, String> fixedRequestParameters) Set up the parameters to pass onto the governance service.void
setGovernanceEngineGUID
(String governanceEngineGUID) Set up the unique identifier of governance engine that is processing the governance action.void
setProducedActionTargetTypes
(List<ActionTargetType> producedActionTargetTypes) Set up the action targets that are produced by the governance service.void
setProducedGuards
(List<GuardType> producedGuards) Set up the list of guards produced by the governance service.void
setProducedRequestParameters
(List<RequestParameterType> producedRequestParameters) Set up the request parameters that are produced by 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
setSupportedActionTargetTypes
(List<ActionTargetType> supportedActionTargetTypes) Set up the required action targets to supply when using this governance acton type to initiate an action.void
setSupportedRequestParameters
(List<RequestParameterType> supportedRequestParameters) Set up the required request parameters to supply when using this governance acton type to initiate an action.void
setWaitTime
(int waitTime) Set up the minimum number of minutes to wait before starting the next governance action.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
GovernanceActionTypeProperties
public GovernanceActionTypeProperties()Default constructor -
GovernanceActionTypeProperties
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
-
getSupportedRequestParameters
Return the required request parameters to supply when using this governance acton type to initiate an action.- Returns:
- list
-
setSupportedRequestParameters
Set up the required request parameters to supply when using this governance acton type to initiate an action.- Parameters:
supportedRequestParameters
- list
-
getSupportedActionTargetTypes
Return the required action targets to supply when using this governance acton type to initiate an action.- Returns:
- list
-
setSupportedActionTargetTypes
Set up the required action targets to supply when using this governance acton type to initiate an action.- Parameters:
supportedActionTargetTypes
- list
-
getProducedRequestParameters
Return the request parameters that are produced by the governance service.- Returns:
- list
-
setProducedRequestParameters
Set up the request parameters that are produced by the governance service.- Parameters:
producedRequestParameters
- list
-
getProducedActionTargetTypes
Return the action targets that are produced by the governance service.- Returns:
- list
-
setProducedActionTargetTypes
Set up the action targets that are produced by the governance service.- Parameters:
producedActionTargetTypes
- list
-
getProducedGuards
Return the list of guards produced by the governance service.- Returns:
- list of guards
-
setProducedGuards
Set up the list of guards produced by the governance service.- Parameters:
producedGuards
- 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
-
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
-
getFixedRequestParameters
Return the parameters to pass onto the governance service.- Returns:
- map of properties
-
setFixedRequestParameters
Set up the parameters to pass onto the governance service.- Parameters:
fixedRequestParameters
- list of properties
-
getWaitTime
public int getWaitTime()Return the minimum number of minutes to wait before starting the next governance action.- Returns:
- int (minutes)
-
setWaitTime
public void setWaitTime(int waitTime) Set up the minimum number of minutes to wait before starting the next governance action.- Parameters:
waitTime
- int (minutes)
-
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
-