- All Implemented Interfaces:
public class ExecutedScript
- extends Object
- implements Comparable<ExecutedScript>
- Filip Neven, Tim Ducheyne
public ExecutedScript(Script script,
public Script getScript()
public Date getExecutedAt()
public Boolean isSuccessful()
public void setSuccessful(Boolean successful)
public void renameTo(Script script)
- Registers the fact that the script that was originally executed has been renamed. This means the script is replaced
by a new one: the one with the new filename, currently available on the filesystem.
Important note: this method breaks the equals and hashcode: after invoking this method, the hashcode changes and
the ExecutedScript object is no longer equal to a copy of the object taken before invoking this method. If this
object is used in a hashmap or hashset, these collections should be disposed after having invoked this method.
script - The script to which the original script which was executed has been renamed.
public boolean equals(Object o)
equals in class
public int hashCode()
hashCode in class
public String toString()
toString in class
public int compareTo(ExecutedScript other)
- Specified by:
compareTo in interface
Copyright © 2011. All Rights Reserved.