Package org.apache.hop.workflow
Class ActionResult
- java.lang.Object
-
- org.apache.hop.workflow.ActionResult
-
- All Implemented Interfaces:
Cloneable,Comparable<ActionResult>,Comparator<ActionResult>
public class ActionResult extends Object implements Cloneable, Comparator<ActionResult>, Comparable<ActionResult>
This class holds the result of a action after it was executed. Things we want to keep track of are:--> result of the execution (Result)
--> ...
-
-
Constructor Summary
Constructors Constructor Description ActionResult()Creates a new empty action result...ActionResult(Result result, String logChannelId, String comment, String reason, String actionName, String actionFilename)Creates a new action result...
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()intcompare(ActionResult one, ActionResult two)intcompareTo(ActionResult two)StringgetActionFilename()StringgetActionName()StringgetComment()StringgetLogChannelId()DategetLogDate()StringgetReason()ResultgetResult()booleanisCheckpoint()voidsetActionFilename(String actionFilename)voidsetActionName(String actionName)voidsetCheckpoint(boolean checkpoint)voidsetComment(String comment)voidsetLogDate(Date logDate)voidsetReason(String reason)voidsetResult(Result result)-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
setResult
public void setResult(Result result)
- Parameters:
result- The result to set.
-
getResult
public Result getResult()
- Returns:
- Returns the result.
-
getComment
public String getComment()
- Returns:
- Returns the comment.
-
setComment
public void setComment(String comment)
- Parameters:
comment- The comment to set.
-
getReason
public String getReason()
- Returns:
- Returns the reason.
-
setReason
public void setReason(String reason)
- Parameters:
reason- The reason to set.
-
getLogDate
public Date getLogDate()
- Returns:
- Returns the logDate.
-
setLogDate
public void setLogDate(Date logDate)
- Parameters:
logDate- The logDate to set.
-
getActionName
public String getActionName()
- Returns:
- the actionName
-
setActionName
public void setActionName(String actionName)
- Parameters:
actionName- the actionName to set
-
getActionFilename
public String getActionFilename()
- Returns:
- the actionFilename
-
setActionFilename
public void setActionFilename(String actionFilename)
- Parameters:
actionFilename- the actionFilename to set
-
compare
public int compare(ActionResult one, ActionResult two)
- Specified by:
comparein interfaceComparator<ActionResult>
-
compareTo
public int compareTo(ActionResult two)
- Specified by:
compareToin interfaceComparable<ActionResult>
-
getLogChannelId
public String getLogChannelId()
-
isCheckpoint
public boolean isCheckpoint()
- Returns:
- the checkpoint
-
setCheckpoint
public void setCheckpoint(boolean checkpoint)
- Parameters:
checkpoint- the checkpoint to set
-
-