Class ActionTargetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ActionTargetProperties
-
Constructor Summary
ConstructorDescriptionTypical ConstructorActionTargetProperties
(ActionTargetProperties template) Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null; -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the name assigned to this action target.Return the date/time when the governance action service stopped processing this target element.Return the optional message from the running governance service supplied on its completion.Return the date/time when the governance action service started processing this target element.Return the current status of the action target.int
hashCode()
Create a hash code for this element type.void
setActionTargetName
(String actionTargetName) Set up the name assigned to this action target.void
setCompletionDate
(Date completionDate) Set up the date/time when the governance action service stopped processing this target element.void
setCompletionMessage
(String completionMessage) Set up optional message from the running governance service supplied on its completion.void
setStartDate
(Date startDate) Set up the date/time when the governance action service started processing this target element.void
setStatus
(ToDoStatus status) Set up current status of the action target.toString()
Standard toString method.
-
Constructor Details
-
ActionTargetProperties
public ActionTargetProperties()Typical Constructor -
ActionTargetProperties
Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;- Parameters:
template
- object being copied
-
-
Method Details
-
getActionTargetName
Return the name assigned to this action target. This name helps to guide the governance service in its processing of this action target.- Returns:
- string name
-
setActionTargetName
Set up the name assigned to this action target. This name helps to guide the governance service in its processing of this action target.- Parameters:
actionTargetName
- string name
-
getStatus
Return the current status of the action target. The default value is the status is derived from the engine action. However, if it has to process many target elements, then these values can be used to show progress.- Returns:
- status enum
-
setStatus
Set up current status of the action target. The default value is the status is derived from the "To Do". However, if the assigned person has to process many target elements, then these values can be used to show progress.- Parameters:
status
- enum
-
getStartDate
Return the date/time when the governance action service started processing this target element. By default, this value is derived from the startDate for the governance action service. However, if it has to process many target elements, then these values can be used to show progress.- Returns:
- date object
-
setStartDate
Set up the date/time when the governance action service started processing this target element. By default, this value is derived from the startDate for the governance action service. However, if it has to process many target elements, then these values can be used to show progress.- Parameters:
startDate
- date object
-
getCompletionDate
Return the date/time when the governance action service stopped processing this target element. By default, this value is derived from the completionDate for the governance action service. However, if it has to process many target elements, then these values can be used to show progress.- Returns:
- date object
-
setCompletionDate
Set up the date/time when the governance action service stopped processing this target element. By default, this value is derived from the completionDate for the governance action service. However, if it has to process many target elements, then these values can be used to show progress.- Parameters:
completionDate
- date object
-
getCompletionMessage
Return the optional message from the running governance service supplied on its completion.- Returns:
- string message
-
setCompletionMessage
Set up optional message from the running governance service supplied on its completion.- Parameters:
completionMessage
- string message
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-